[Zope] Session

Chris McDonough chrism@digicool.com
Tue, 16 Jan 2001 12:26:30 -0500


Hmm.  I haven't had any other bugreports, and there's nothing special about
it under Windows (it was partially developed on Windows).  Are you saying
that when you try to create a Session Data Manager that it complains about
"resource not found" *before* you hit "OK" on the constructor form or
*after* you hit "OK" on the constructor form?  Or does the error happen at
another point?

What version of Zope are you using?

----- Original Message -----
From: "Anderson Ami" <anderson@websolucoes.com.br>
To: "Chris McDonough" <chrism@digicool.com>; "Chris Withers"
<chrisw@nipltd.com>; "peter bengtson" <peter@grenna.net>
Cc: <zope@zope.org>
Sent: Tuesday, January 16, 2001 11:59 AM
Subject: RE: [Zope] Session


I installed the latest core session tracking version, but when I create a
new Session Manage occurrs the error : Resource not found
My zope is in windows nt, Is there any trick on install it ?

thanks
anderson

-----Original Message-----
From: Chris McDonough [mailto:chrism@digicool.com]
Sent: terça-feira, 16 de janeiro de 2001 13:08
To: Anderson Ami; Chris Withers; peter bengtson
Cc: zope@zope.org
Subject: Re: [Zope] Session


Download and install the latest core session tracking (0.5) which allows you
to use the mapping keyword.

- OR -

Doc 1

<dtml-with "Session.getSessionData()"
  <dtml-call "set('NAME', 'VALUE'">
</dtml-with>

Doc 2

<dtml-with "Session.getSessionData()">
    <dtml-var "get('NAME')">
</dtml-with>

Also, please consult the docs, they're very complete.

----- Original Message -----
From: "Anderson Ami" <anderson@websolucoes.com.br>
To: "Chris McDonough" <chrism@digicool.com>; "Chris Withers"
<chrisw@nipltd.com>; "peter bengtson" <peter@grenna.net>
Cc: <zope@zope.org>
Sent: Tuesday, January 16, 2001 9:19 AM
Subject: RE: [Zope] Session


It doesn´t work, The zope gives me : Error Type: AttributeError Error Value:
__getitem__.

Thanks a lot
anderson

-----Original Message-----
From: Chris McDonough [mailto:chrism@digicool.com]
Sent: terça-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: zope@zope.org
Subject: Re: [Zope] Session


Anderson,

If you're using core session tracking, it doesn't work like FSSession or
SQLSession.  Instead, you'd want to use:

Doc 1

<dtml-with "Session.getSessionData()"
  <dtml-call "set('NAME', 'VALUE'">
</dtml-with>

Doc 2

<dtml-with "Session.getSessionData()" mapping>
    <dtml-var NAME>
</dtml-with>

----- Original Message -----
From: "Anderson Ami" <anderson@websolucoes.com.br>
To: "Chris McDonough" <chrism@digicool.com>; "Chris Withers"
<chrisw@nipltd.com>; "peter bengtson" <peter@grenna.net>
Cc: <zope@zope.org>
Sent: Tuesday, January 16, 2001 8:52 AM
Subject: RE: [Zope] Session


I did this :

- I created a Session Manager called Session
- In my index_html I wrote : <dtml-call Session.set('NAME','VALUE')>
- In other dtml document called document2 I wrote : <dtml-var NAME>

Why does´t it work ?
when I call document2 the zope generates a error.


-----Original Message-----
From: Chris McDonough [mailto:chrism@digicool.com]
Sent: terça-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; zope@zope.org
Subject: Re: [Zope] Session


It won't be in 2.3 (just couldn't get it in), and the current iteration is a
development release, but it will hopefully be in 2.4.

----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "peter bengtson" <peter@grenna.net>
Cc: "Anderson Ami" <anderson@websolucoes.com.br>; <zope@zope.org>
Sent: Tuesday, January 16, 2001 7:07 AM
Subject: Re: [Zope] Session


> > I´m using the Happy Session, but I heardy bad things about this product,
> > Which one do you think is better ?
> >
> > Thanks a lot
> > Anderson

Anderson,

Why not try Zope's own session product:
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking

this will be in the Zope core from 2.3 onwards but is available for
download now.
It has great docs, so make sure you read them before posting here ;-)

cheers,

Chris

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )