Re: [PHP] Session help please?

2004-04-01 Thread Chris Shiflett
--- Paul <[EMAIL PROTECTED]> wrote: > I figured I could do something like $_SESSION['test'] = 5 and refer to > $test on other pages however I cannot. The reason I thought I could do > this is because I can do $_SESSION['test'] = $_POST['test'] and be able > to refer to just $test on other pages. T

RE: [PHP] Session Help

2002-01-30 Thread Kevin Stone
This is such an annoying thing. And it seems as though no one is willing to cover it in any manual, book or tutorial. Apparently the problem is that PHP sessions automatically set the no-cache header. So at the top of each script, after the session_start() function set header("Cache-Control: pu

Re: [PHP] Session Help

2001-11-30 Thread Papp Gyozo
PHP automatically calls the appropiate function instead if you. But consider that the save handler is not called on individual session_register functions, only when all output is gone, and the whole session - each registered variable - must be saved. Note: The "write" handler is not ex

RE: [PHP] Session Help (transparent sid's)

2001-01-12 Thread Pickup, Jordan
I got past this horrible mess by breaking the code. PHP seems to look for structures so if you break it up: print(""); or print(""); or $s .= " Hello, > > Can someone please help? > > My ISP has recompiled php with the transparent sid support and now when i try to access a certain page for th