Skip to main content
Topic: why am I always logged out (Read 3049 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

why am I always logged out

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
sorry for my bad english

Re: why am I always logged out

Reply #1

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

Re: why am I always logged out

Reply #2

Good question.
Does it happen only with Chrome or with other browsers as well? (Just to be sure. ;))
Bugs creator.
Features destroyer.
Template killer.

Re: why am I always logged out

Reply #3

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
sorry for my bad english

Re: why am I always logged out

Reply #4

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?).
Bugs creator.
Features destroyer.
Template killer.

Re: why am I always logged out

Reply #5

if @TE could check the nginx config for the site, it should have something like:
Code: [Select]
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

Re: why am I always logged out

Reply #6

I was thinking more at the Elk code, but at nginx level would be even better! :D
Bugs creator.
Features destroyer.
Template killer.

Re: why am I always logged out

Reply #7

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

Code: [Select]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^elkarte.net [NC]
RewriteRule ^(.*)$ http://www.elkarte.net/$1 [L,R=301,NC]
sorry for my bad english

Re: why am I always logged out

Reply #8

Haven't logged in since ages. Using Firefox.

Re: why am I always logged out

Reply #9

problem solved now! when entering elkrarte.net I am redirectet to www version. Thanks!
sorry for my bad english

Re: why am I always logged out

Reply #10

yep, should be fixed..  ;)
Thorsten "TE" Eurich
------------------------

Re: why am I always logged out

Reply #11

Thanks! :D
Bugs creator.
Features destroyer.
Template killer.