On Mar27, 5:27pm, annet <annet.verm...@gmail.com> wrote:
> I have just moved my application from the development environment to a
> production environment. I read the web2py manual and some posts in the
> group on the subject of cleaning up sessions, but I am not sure which
> is the best way to proceed. I am running version 1.76.5 of web2py.
>
> Kind regards,
>
> Annet


My approach is to use admin's expire_sessions.py feature, by this way:

$> cp web2py/applications/admin/cron/crontab web2py/applications/myapp/
cron

By the way, I feel boring that I have to do this every time I create a
new app, yet sometimes I forgot that. Don't know whether Massimo will
think about adding that line by default when creating every new app.

Sincerely,
Iceberg

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to