mischka Posted August 5, 2013 Report Share Posted August 5, 2013 Hey Guys, I'm working on a new site, and one annoyance I'm having is that the session doesn't stay alive i.e. i don't stay logged on. On my main site all works fine and I never have to log in, but here I think after half an hour or so it kicks me out again. Specially annoying if I do some admin-work and when I submit it doesn't actually submit Anyone can shed some light on this? Quote Link to comment Share on other sites More sharing options...
Fernando Posted August 5, 2013 Report Share Posted August 5, 2013 Hey Guys, I'm working on a new site, and one annoyance I'm having is that the session doesn't stay alive i.e. i don't stay logged on. On my main site all works fine and I never have to log in, but here I think after half an hour or so it kicks me out again. Specially annoying if I do some admin-work and when I submit it doesn't actually submit Anyone can shed some light on this? The time that you provide for your member to get online, you can adjust the file Local.config.php lines 59 and 60 # The StatsData::UserOnline() function - how many minutes to check Config::Set('USERS_ONLINE_TIME', 20); 20 = 20 minutes You can change these values ​​to what they find convenient Quote Link to comment Share on other sites More sharing options...
mischka Posted August 5, 2013 Author Report Share Posted August 5, 2013 I think that's rather how often the system checks if a user is still online Indeed if I look at the referenced function, i see it returns this: SELECT p.* FROM ".TABLE_PREFIX."pilots p, ".TABLE_PREFIX."sessions s WHERE s.pilotid = p.pilotid AND DATE_SUB(NOW(), INTERVAL {$minutes} MINUTE) <= s.`logintime On both my sites I have this value set to 20, however on one site it never times out and on the other all the time. Quote Link to comment Share on other sites More sharing options...
Fernando Posted August 6, 2013 Report Share Posted August 6, 2013 Just to understand, what you seek is: The pilot log in your account and stay active all the time through reading the IP of the computer that performed the login on your website? Quote Link to comment Share on other sites More sharing options...
strawbs Posted November 17, 2013 Report Share Posted November 17, 2013 Sorry to bring this up but We are also having this problem at www.cathaypacificva.com . Once you login even if you hit remember it will always log you out after being inactive for 20-30 Mins. Any Ideas? Thanks, Callum Quote Link to comment Share on other sites More sharing options...
yorgosGK Posted November 27, 2013 Report Share Posted November 27, 2013 We have the same problem..... When we log in and then brows the web and return to page we are logged out and then once we sign in we get an error saying you are already logged in.....any fix? tried the top fix with a minutes thing but it isn't that Quote Link to comment Share on other sites More sharing options...
piuozorio Posted November 28, 2013 Report Share Posted November 28, 2013 Hi, recently i changed my phpvms skin and have the "same" problem, my problem was the "remember me" on login code. If i close the browser the login was lost, then i fix the "remember" part the login keeps alive all the time. Hope that helps Quote Link to comment Share on other sites More sharing options...
CPC900 Posted March 4, 2014 Report Share Posted March 4, 2014 Did anyone ever figure out why this was happenning?? That is the problem I am having now Quote Link to comment Share on other sites More sharing options...
CPC900 Posted March 22, 2014 Report Share Posted March 22, 2014 Hate to keep bumping this topic, but.....nothing on this thread helped my predicament. Can someone stear me in the right direction of where I should be looking next. Sorry to be a bother with this Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 23, 2014 Moderators Report Share Posted March 23, 2014 I think that this problem happens because you are not using index.php extention on your welsite's url. For example, if i browse the phpvms website using www.mydomain.com , probably the auto log in won't work but if i use www.mydomaim.com/index.php the i am automatically logged in. I don't know why does it happen so that's why i am trying to use index.php extention whenever i browse my website. Quote Link to comment Share on other sites More sharing options...
CPC900 Posted March 23, 2014 Report Share Posted March 23, 2014 But it does load the index.php file when it goes to my site. And keep in mind, I have NOT had this problem since about 3 months ago or so. Before that, it never happenned?! Is it possible to have something wrong with my index.php I wonder?! Again, I can't seem to track this one down. Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted March 23, 2014 Moderators Report Share Posted March 23, 2014 But it does load the index.php file when it goes to my site. Yiu have to navigate your website using index.php file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.