RE: [PHP-WIN] Session problems

From: Date: Mon, 09 Apr 2001 17:37:59 +0000
Subject: RE: [PHP-WIN] Session problems
Groups: php.windows 
Request: Send a blank email to php-windows+get-6589@lists.php.net to get a copy of this message
[> This is the > function which gets the session id. ] Ooooops... I meant "This is the function which gets the **variables** from the session file." --------------------- John Asendorf - jasendorf@lcounty.com Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aliquando et insanire iucundum est > -----Original Message----- > From: Asendorf, John [mailto:JAsendorf@lcounty.com] > Sent: Monday, April 09, 2001 1:37 PM > To: Mark Collins; Php-Windows (E-mail) > Subject: RE: [PHP-WIN] Session problems > > > Dear Mark, > > You must have the line > > session_start (); > > at the beginning of the pages that are part of the session. > This is the > function which gets the session id. You can also use > session_start to BEGIN > the session. You must then register any variables you want > to be held by > the session. You must register those variables each time you > change them > too. > > You should probably change the temp directory in which the > session files are > held too (create a nice new little directory just for php > session files and > register that directory in the php.ini file). I had problems > before I did > this. > > Hope this gets you started. > > John > > --------------------- > Founder of > The 'What Kind of Idiot Uses PHP with IIS with Oracle on NT?' > Consortium > > Members: John Asendorf, Thomas Kryger, Florian Clever, Ron Woods, Bod > > John Asendorf - jasendorf@lcounty.com > Web Applications Developer > http://www.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > Aliquando et insanire iucundum est > > > > -----Original Message----- > > From: Mark Collins [mailto:mark@biteit.net] > > Sent: Monday, April 09, 2001 1:31 PM > > To: php-windows@lists.php.net > > Subject: [PHP-WIN] Session problems > > > > > > Hi there, I am trying to get my head around Sessions but not > > getting very > > far. I can't seem to work out exactly how you keep track of > > the variables. > > If you register a variable at the start of the page, will it > > then track this > > variable and take it from page to page by its self, or do you > > have to do > > something in the code to tell the session its changed, like > > register it > > again? > > > > I have got to grips with most things so far, but sessions are > > fighting back, > > are there any good tutorials on the web you can recommend? I > > have already > > used web monkey for most things, but their session section > > was a bit crappy. > > > > Thanks > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > For additional commands, e-mail: php-windows-help@lists.php.net > > To contact the list administrators, e-mail: > > php-list-admin@lists.php.net > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.windows (#6589) next »