> 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
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
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
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
4 matches
Mail list logo