but since the cookie stores the session id, I thought I could keep that ID and bring it back.
could you show me some code, or point me to some example? Thanks On Tue, 2004-03-09 at 23:48, Richard Davey wrote: > Hello André, > > Tuesday, March 9, 2004, 11:41:04 PM, you wrote: > > AVL> But my question is, since I don't deal with cookies directly (PHP does > AVL> that for me), 'cause I only have to deal with sessions, how can I change > AVL> the cookies produced by PHP? > > AVL> atm I only session_start() and use the $_SESSION[''], so I don't really > AVL> know which cookie to change, or how to do it. > > In that case the reason the session expires when the browser closes is > because that is what sessions are designed to do. In order to "bring > them back" you need to issue a cookie of your own that keeps track and > re-builds the session when they return. > > -- > Best regards, > Richard Davey > http://www.phpcommunity.org/wiki/296.html -- I/O, I/O, It's off to disk I go, A bit or byte to read or write, I/O, I/O, I/O...
signature.asc
Description: This is a digitally signed message part