does every subapp get a different session or the same shared session?
On 12/6/08, vulcan <[EMAIL PROTECTED]> wrote:
>
>
> Here is the solution:
> initialize Session in code.py and attach it to the web namespace, then
> can use it in every subapplications
> e.g.
> session = web.session.Session(app, web.session.DiskStore('sessions'))
> web.ses = session
>
>
> On Dec 6, 7:20 pm, "Alva Yi" <[EMAIL PROTECTED]> wrote:
> > session support in webpy0.3 is a big highlight,is there any one give a
> > example to show how to use session for sharing infomaion during
> > sub-applications?I have tried a lot, and i just can't get it work!
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---