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" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>; "Chris Withers"
<[EMAIL PROTECTED]>; "peter bengtson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
Sent: terça-feira, 16 de janeiro de 2001 12:31
To: Anderson Ami; Chris Withers; peter bengtson
Cc: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>; "Chris Withers"
<[EMAIL PROTECTED]>; "peter bengtson" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]]
Sent: terça-feira, 16 de janeiro de 2001 12:03
To: Chris Withers; peter bengtson
Cc: Anderson Ami; [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: "peter bengtson" <[EMAIL PROTECTED]>
Cc: "Anderson Ami" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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  -  [EMAIL PROTECTED]
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 )






_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to