Reply to must share...

Your name:

Reply:


Posted by joeblow on 11/24/05 00:15

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]


Удаленная работа для программистов  •  Как заработать на 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

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