note 86142 rejected from function.session-start by danbrown
| From: | danbrown@php.net | Date: | Sun, 05 Oct 2008 17:10:04 +0000 |
| Subject: | note 86142 rejected from function.session-start by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145071@lists.php.net to get a copy of this message | ||
Note Submitter: julious dot loa at gmail dot com
----
Hi 2 all. I please u all to help.
session_start() doesn't start at all. Can't figure out what is wrong :(
index.php:
<?php
session_start();
$_SESSION['ip'] = getenv("REMOTE_ADDR");
$_SESSION['logged'] = false;
$_SESSION['login'] = "guest";
$_SESSION['mode'] = "GuestMode";
$_SESSION['name'] = "SessionName";
?>
get.php:
<?php
session_start();
echo "name = ".$_SESSION['name']."<br>";
echo "logged = ".$_SESSION['logged']."<br>";
echo "login = ".$_SESSION['login']."<br>";
echo "mode = ".$_SESSION['mode']."<br>";
echo "ip = ".$_SESSION['ip']."<br>";
?>
First i open the index.php in browser and while stil opened, i open the get.php and...
in:
- Opera
- IE
we see no data transfer at all :(
It works only in:
- FireFox
- Safari
- Flock
- SeaMonkey
How 2 fix this bug?!
Thx.
ps: could u answer me via email plz.