« Return to Thread: session variables

Re: session variables

by Adam Retter-3 :: Rate this Message:

Reply to Author | View in Thread

session:get-attribute() and session:set-attribute()

You can store anything in there, including node sets if nessecary. I
would recommend keeping the session data as small as possible in any
application.

2009/7/1 Thomas White <thomas.0007@...>:

> Cache module is a great place to store application scope data. Some times
> there is a need to store data with session scope.
> Is there a way to add data to the session object in a similar way as the
> cache module, but that will automatically be released when the session
> object expires?
>
> Tom
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Exist-open mailing list
> Exist-open@...
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
adam@...
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

 « Return to Thread: session variables