Check in trunk

session.is_new()
session.is_expired(seconds=3600)

On Nov 25, 4:03 pm, "mr.freeze" <[email protected]> wrote:
> The session object seems like the most logical place.  That's where
> asp.net, java and a few others store it I believe.  I also think a
> session.is_new() convenience function should be added.
>
> On Nov 25, 3:15 pm, mdipierro <[email protected]> wrote:
>
> > On Nov 25, 3:02 pm, Thadeus Burgess <[email protected]> wrote:
>
> > > Should their be a unique_key in session?
>
> > > I was expecting something like
>
> > > session.id or session.unique_key, or session.uuid... something that is the
> > > session with the user.
>
> > > Is this the correct session id?
>
> > > response.session_id
>
> > Yes.
>
> > > Shouldn't this be in the session object?
>
> > I do not think so. The session object contains the session content.
> > The session id is meta-content.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to