hello,
I don't know if is happening to me or to all users here. Every time I login and close the open tab on chrome it askes me to login again. I tried the optins: forever,1 week, etc but nothing.
same story on tablet and another pc
Where did you login from? Like the login form on the menu or the login page? Try the login page or vice versa and check the forever box
Good question.
Does it happen only with Chrome or with other browsers as well? (Just to be sure. ;))
I always login on the main page www.elkarte.net, under the menu and I already tried all options: Forever, 1 month, etc...
On pc and on tablet I use Chrome.
I just did a test with Firefox and it works, I remain logged in even if I close and reopen the browser. With IE 10 (win8) same problem as Chrome.
I don't have this problem with any other smf forum
I can reproduce something similar, but only visiting http://elkarte.net/ (without the www) because the home doesn't do the wwwRedirect (not sure why at the moment, maybe
@Spuds has an idea?).
if
@TE could check the nginx config for the site, it should have something like:
server {
server_name elkarte.net;
return 301 $scheme://www.elkarte.net$request_uri;
}
in it for nginx to redirect non www requests as www ones
I was thinking more at the Elk code, but at nginx level would be even better! :D
that's it ! in my bookmarks it was saved without www
if I enter the www version no problem with chrome. The best solution for this is the .htaccess file
RewriteEngine on
RewriteCond %{HTTP_HOST} ^elkarte.net [NC]
RewriteRule ^(.*)$ http://www.elkarte.net/$1 [L,R=301,NC]
Haven't logged in since ages. Using Firefox.
problem solved now! when entering elkrarte.net I am redirectet to www version. Thanks!
yep, should be fixed.. ;)
Thanks! :D