I've read all the threads on sessions here and I understand EVERYTHING. But even the simplest samples do not work.
I've tried
<?php
session_start();
++$_SESSION['AVAR'];
echo $_SESSION['AVAR'];
?>
And only get the value of 1 over and over.
I've tried
<?php session_start();
echo '<pre>'; print_r($HTTP_SESSION_VARS); echo '</pre>';
$HTTP_SESSION_VARS['test'] = 'value';
?>
and just get and empty array over and over.
It does not work for me. I've tried all my browsers IE 5.5, Netscape 4.7 and 6.0.
HELP, I am literally going nuts.
Ron
Sessions do not work for me in any browser! IE5.5, N4.7+6.0
Moderator: General Moderators
Code: Select all
session_start();
++$_SESSIONї'AVAR'];
echo $_SESSIONї'AVAR'];Although I did have a problem with it when a server i used had PHP version 4.0.3 installed. Enen $HTTP_SESSION_VARS didn't seem to work for me then
That might be the prob
Use <? phpinfo() ?> to check
Otherwise I'm out of ideas
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK