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. This

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:

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. manual Note: The write handler is