You just have to set a time limit to your session/cookie, like a week, month
or year.

I'm sure massimo answer how to set a diferent time limit to a cookie before.




2010/8/5 Cody <[email protected]>

> Hello,
>
> I just started using web2py this summer to create a website.
>
> Currently, I am having an issue with sessions. I am trying to store
> information in session variables without having the user login, but
> whenever the browser closes and reopens all the session variables are
> reset. I am only storing strings and integers, and the code works as
> long as the browser does not close.
>
> Is there anyway to prevent this? Also, how long do sessions last, and
> how can I change that?




-- 
Atenciosamente

-- 
=========================
Alexandre Andrade
Hipercenter.com

Reply via email to