Hello list,
I just can't make sessions work. This is driving me mad, I'm sure it's
something silly, but maybe my headache made me a fool :P :) ... could you
please tell me what's wrong here?. hello.php has a link to next.php:
--- start of hello.php ---
?php
session_start();
other way around, set the variable the register it
session_start();
$hello = 'chris lee';
session_register('hello');
here is my session file.
?php
include_once('time.egn');
if ( isset($PHPSESSID) )
session_id($PHPSESSID);
session_start();
if
I just can't make sessions work.
Now this is strange! I copied exactly the same scripts I posted to my
win98SE box running Apache 1.3.19 and PHP 4.0.4pl1 and they worked!.
Which could be the reasons for the sessions not to work?. Do they work
transparently for name based virtuals, don't they?.
WRONG!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
4 matches
Mail list logo