Hello,
I'm happily using Frontend Users but I can't seem to keep my users logged in. Whenever anyone logs in to the private area of my site, they get a cookie with no expiration date which therefore expires at the end of their session. So they have to log in much more frequently than I would like - i would prefer to keep them logged in for a week or so.
Is this a bug or am I missing something? I have changed the session length param in the Front End Users admin but to no avail.
Thanks,
- Andrew
Frontend Users Session Expiration
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Frontend Users Session Expiration
The sessions in feusers are based on the session_id, so therefore when the session_id changes, by restarting your browser, you have to log in again.
This works the same as the admin side of things.
It's definately doable the other way, but I never really thought about it this way. Maybe you could post this as a feature request to the forge.
Thanks.
This works the same as the admin side of things.
It's definately doable the other way, but I never really thought about it this way. Maybe you could post this as a feature request to the forge.
Thanks.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Frontend Users Session Expiration
I more or less got around this by increasing the overall session length for CMS Made Simple. In include.php I added this:
@ini_set('session.cookie_lifetime', 604800);
...which seems fine to me; I don't mind the admin session staying open for longer. Ideally it seems to me that Front End Users would have its own cookie with its own expiration time but I imagine that would add a whole other layer of complexity.
Thanks,
- Andrew
@ini_set('session.cookie_lifetime', 604800);
...which seems fine to me; I don't mind the admin session staying open for longer. Ideally it seems to me that Front End Users would have its own cookie with its own expiration time but I imagine that would add a whole other layer of complexity.
Thanks,
- Andrew