You are here: Re: Session problem « PHP Programming Language « IT news, forums, messages
Re: Session problem

Posted by leo on 07/25/07 08:07

>you use the right way of setting session variables ($_SESSION["type"]
>= ...). Also, you seem to have misspelled the "type" in
ops, it was a leftover from various test i've made before
and yes there is a session_start

Also i forgot to mention that on a server with php5 it was working
while it was not working on a server with php4

I've solved the problem, even if I don't understand exactly why it
works. I've put exit after the header. Reading the documentation I've
discovered tha after the redirection it is necessary to call exit
otherwhise the execution of the script is not stopped.
What I don't understand is why the variable was deleted since it
wasn't referenced in the rest of the script.

 

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

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