|
Posted by joeblow on 11/24/05 03:03
Nope. Back to where I started from. As soon as I removed SID from the
hyperlinks, I lost my $_SESSION data. Oh well, it's gotta be here somewhere.
"joeblow" <momo_roadracer@yahoo.com> wrote in message
news:11o9qdp97q96hfd@corp.supernews.com...
> For weeks I've been unable to get $_SESSION to retain data if I use
> setcookie(). FINALLY I found out why:
>
> setcookie(blah, blah...);
> session_start();
>
> I was calling them in this order. I can't believe it. Now that I've
started
> the session before setting the cookie the sessions work beautifully.
>
> I feel like such a dunce. I couldn't believe that no one was having the
> problems I was having. Now I see why.
>
> Thanks for your input, J.O. and arturo. I appreciate it very much. You
> caused me to look where I thought everything was alright, when it wasn't.
>
> Finally, now I can move on.
>
> Best to all...
>
> signed: One happy camper
>
>
[Back to original message]
|