You are here: Session Cookies « All PHP « IT news, forums, messages
Session Cookies

Posted by Flaming Corncob on 09/12/06 14:46

Correct me if I'm wrong, but I thought that if you made a change to a
session, for example (forgive the lame example):

If $_SESSION['tv'] equals "on" and you change it to "off"...

You have to use header() else any changes were lost.

By stupid accident I didn't direct a page through header() after I had
changed some things in the session and found that even if you closed the
browser window (not quit the browser - that kills any session) the
changes I made were ok. This leads me to believe it's possible to make
any changes to a session without having to redirect with header()? It
was my understanding that in order for any change to take effect
header() had to be used.

 

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

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