Bernat Romagosa <
tibabenfor...@gmail.com> writes:
> They only expire if the user logs out. If a user comes back after a
> week, when he points at the app's url, he should still be logged in.
> Is there a better solution than to make sessions last forever? We went
> this way because we'll only have around 200 users, so we thought the
> session data wouldn't become that huge...
I would clear the state of the session (actions and
applications/widgets) instead of doing a real expire, and set the expire
to 24 hrs.
This way you keep your users logged in, and keep your sessions
lightweight.
Cheers,
Nico