I'm using php Sessions on my website and it seems like they are "disappearing" at random intervals. I don't know if they are timing out due to inactivity or if something is wrong with my code, but is there some way to control the sessions of when they expire?
Like can I put something in my code or change something in the php.ini file?
Update- So just and update here, I switched hosts and magically the sessions started working. I have no clue what was wrong but apparently they did not want to work correctly.
question from:
https://stackoverflow.com/questions/3476538/php-sessions-timing-out-too-quickly 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…