Dori Posted March 15, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Share Posted March 15, 2014 So my website it flux integrated. The problem is, I can't stay logged in to the site. maximum like 1 hour or 2 I can stay logged in and then it will automatically sign me out. Is there away to make it keep me logged in forever? Link to comment Share on other sites More sharing options...
Emistry Posted March 15, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Yesterday at 05:32 PM Share Posted March 15, 2014 probably you changed the setting here ? https://github.com/rathena/FluxCP/blob/master/config/application.php#L23 Link to comment Share on other sites More sharing options...
Dori Posted March 16, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Author Share Posted March 16, 2014 no, I have 48 there Link to comment Share on other sites More sharing options...
Wynn - Posted March 16, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 23 Reputation: 18 Joined: 02/27/14 Last Seen: December 6, 2014 Share Posted March 16, 2014 Have you tried changing session.gc_maxlifetime in your php.ini file?From the documentation: session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and potentially cleaned up. Garbage collection may occur during session start (depending on session.gc_probability and session.gc_divisor). So if your session is idle for the specified amount of seconds it may be deleted. Link to comment Share on other sites More sharing options...
Dori Posted March 17, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Author Share Posted March 17, 2014 I just checked and these are my setting for the bellow: session.save_path = "/tmp" session.gc_maxlifetime = 1440 Link to comment Share on other sites More sharing options...
Question
Dori
So my website it flux integrated. The problem is, I can't stay logged in to the site. maximum like 1 hour or 2 I can stay logged in and then it will automatically sign me out. Is there away to make it keep me logged in forever?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts