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