oceans Posted May 29, 2007 Share Posted May 29, 2007 Anyone please tell me where are the session variables stored in a server, thanks. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/ Share on other sites More sharing options...
oceans Posted May 29, 2007 Author Share Posted May 29, 2007 Can anyone tell me how can I remove the orphaned session files. I noted, though I have routines to clear the sessions, if user closes explorer abruptly, the server collects session files. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-263786 Share on other sites More sharing options...
oceans Posted May 29, 2007 Author Share Posted May 29, 2007 People, I am trying to keep this afloat, thanks. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-263954 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 Do you think setting a time limit for session will help, if so please suggest the syntex, thanks Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266070 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 can any one give me a syntex for timers session, may be this will help, i noted my server is collecting spent session files. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266093 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 People, I noted there are the following which could be of help to me session.cookie_lifetime can any one tech me how to employ this Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266109 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 Friends, I manage to get this page but could not piece things together http://www.phpfreaks.com/phpmanual/page/ref.session.html can any kind sole help me :'( My situation: Though I have sequence to clear a session at the end of a work, if user simply presses the "X" on top right or top left, this sequence is never reached thus this session file get orphanned and left not removed. All I want is remove it after say 10 mins, because no one will likely be viewing my page for more then 10 mins. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266124 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 Masters, I honestly need help, i can't fix this Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266236 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 I am trying to keep this afloat, Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266339 Share on other sites More sharing options...
per1os Posted June 1, 2007 Share Posted June 1, 2007 Look in your php.ini in there gives you the option to set the session directory that or the httpd.conf for apache. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266346 Share on other sites More sharing options...
dustinnoe Posted June 1, 2007 Share Posted June 1, 2007 if you cannot access php.ini http://us2.php.net/manual/en/function.session-cache-expire.php Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266349 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 Dear Dustinnoe, I have tried this, the file is still there, i tried 1 minute and waited for 5 minute. but it still there, Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266351 Share on other sites More sharing options...
oceans Posted June 1, 2007 Author Share Posted June 1, 2007 Dear People, can you understand why I am dieing... Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266353 Share on other sites More sharing options...
per1os Posted June 1, 2007 Share Posted June 1, 2007 Usually a general timeout is 20 minutes. www.php.net/session_destroy Not sure if that would help you at all. Link to comment https://forums.phpfreaks.com/topic/53384-where-are-session-var-stored/#findComment-266358 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.