Isn't it true that I would store a user's log in state in the session? If the session then cannot survive the browser being closed, it would mean for any user to log in each time they visit the web site, which is quite unusual and annoying.
Does it mean i need to get the session id and store it in a cookie, retrieve it from there and then putting it back into the session? On every access? Even PHP has better session management than that :) What use does the session 'timeout' parameter serve then? Maybe I am getting something wrong here? Bests, Dragan Am 17.09.2011 18:38, schrieb FM: > Nothing is wrong. Session cookies are meant to be expired when the browser is > closed. It's not web.py specific, it's the general rule. I think what you're > looking for is cookies. By using cookies, you could set expire time to 5 > years. > > http://webpy.org/cookbook/cookies > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/webpy/-/6M2G_oLDSHYJ. > 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. -- http://noobz.cc/ http://digitalfolklore.org/ http://contemporary-home-computing.org/1tb/ -- 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.
