Posted by Mike on 10/17/06 18:46
> it could be a few things. try forcing php to save session data to file
> rather than cookies (which are client-side and may not be available based on
> security). then just try something like this to test if it works:
>
> <?
> if (!$_SESSION['hello world'])
> {
> $_SESSION['hello world'] = 'you guessed it...Hello World!';
> header('location:' . $_SERVER['PHP_SELF']);
> exit;
> }
> echo $_SESSION['hello world'];
> ?>
>
> i think you'll know when you've got it licked. ;^)
I have a look but I suspect my host won't let me change the php.ini
file!
Mike
Navigation:
[Reply to this message]
|