Re: [PHP] Sessions Timeout

2004-07-27 Thread Matt M.
> Problem is that when someone goes so far in the ordering process, and then > (for whatever reason) leaves the site, and comes back hours, seconds or > whatever later, and goes again to place an order, the details are different > (time), and the session stays the same so the order entry is entered

Re: [PHP] Sessions Timeout

2004-07-27 Thread Jason Davidson
I would put a timelimit on the session, create a session var called time, or loginTime or something, and compare it to time() with php, give a leyway of an hour or something. This is a standard securty measure to prevent people from leaving the pc with a session running all day, and someone else si

Re: [PHP] sessions timeout

2004-03-09 Thread André Ventura Lemos
But my question is, since I don't deal with cookies directly (PHP does that for me), 'cause I only have to deal with sessions, how can I change the cookies produced by PHP? atm I only session_start() and use the $_SESSION[''], so I don't really know which cookie to change, or how to do it. TIA

Re: [PHP] sessions timeout

2004-03-09 Thread Richard Davey
Hello André, Tuesday, March 9, 2004, 10:53:35 PM, you wrote: AVL> I'm using sessions to manage users, by using cookies to store the AVL> session. AVL> My question is, how do I make the session last _forever_? AVL> ATM the session lasts 'till the user closes the browser. Ok first of all - you can