You are here: doggone it!! spoke too soon « All PHP « IT news, forums, messages
doggone it!! spoke too soon

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
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация