Info
- 10 posts
- 5 voices
- Started 3 years ago by DVDVideoSoft
- Latest reply from DVDVideoSoft
- This topic is not resolved
Automatic logout if browser window is closed. How to avoid?
-
- Posted 3 years ago #
After upgrading to the latest engine (0.9.0.2) it logs out automatically I close the browser.
So I have to type my name and password each time I visit my forum.How can I make it to remember me?
With a previous version it remembered me, and did not ask to log in each time I closed and opened the browser window.
-
- Posted 3 years ago #
That doesn't happen in my 0.9.0.2 installation. Maybe it's a cookie problem, since that is how bbPress knows you're already logged in (via a cookie.)
Need more information on your installation. Can you post a link to your forum so others can try it?
-
- Posted 3 years ago #
Maybe you can do it if you store the session cookie with a longer life time.
be careful it's less safe...
-
- Posted 3 years ago #
finalwebsites: The login cookie should survive closing the browser window, shouldn't it? I think mine works like that.
-
- Posted 3 years ago #
You have to explicitly choose "Remember me" when you login. If that option isn't there when you login then you need to update your template to match the default one in this regard.
I'm pretty sure this was a part of the last release.
-
- Posted 3 years ago #
here is the link to my forum http://www.dvdvideosoft.com/forums/index.php
>> The login cookie should survive closing the browser window, shouldn't it? I think mine works like that.
Yes, but you can see it does not survive on my forum.
-
- Posted 3 years ago #
to sambauers:
>> You have to explicitly choose "Remember me" when you login. If
>> that option isn't there when you login then you need to update
>> your template to match the default one in this regard.It makes sense! Please give me some advice.
Do I need to correct my skin template or can I set a parameter in the config file? -
- Posted 3 years ago #
> Yes, but you can see it does not survive on my forum.
Right you are :-)
Name bbpress_[snipped] Value chrishajer%7C[snipped] Host http://www.dvdvideosoft.com Path /forums/ Secure No Expires At End Of Session
I just noticed there is no box at this forum either. -
- Posted 3 years ago #
If you want people to stay logged in after the end of the session, just add the following within the form element in the login-form.php template file:
<input name="remember" type="hidden" value="1" />Just make sure it's before the closing
</form>tag. -
- Posted 3 years ago #
Dear John Conners, thank you!
Simple and works! -
You must log in to post.