Posted by Alex Gemmell on 02/07/05 19:26
On Mon, 07 Feb 2005 18:14:22 +0100, Jochem Maas <jochem@iamjochem.com> wrote:
> Alex Gemmell wrote:
>
> ..
>
> > Well, I have a few lines like these two:
> >
> > session_register('email_address');
> > $_SESSION['email_address'] = $email_address;
> >
> > If I simply delete the first line
> > ("session_register('email_address');") everything will still work...
> > right?
>
> yes - on one condition: somewhere in you app/script you must make a call
> to session_start() before attempting to use the $_SESSION superglobal var.
>
>
>
Great! That's exactly what I wanted to hear. I know to use
session_start() at the beginning of my scripts so it looks like I am
good to go!
Thank you to each of you who helped me with this!
--
Alex Gemmell
|:| agemmell@gmail.com |:|
Navigation:
[Reply to this message]
|