[> 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 - [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
> 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 - [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]]
> > Sent: Monday, April 09, 2001 1:31 PM
> > To: [EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]