I work with PHP 4.0.6 for Windows
If I turn session.auto_start on (session.auto_start=1) always, when I click "Back" button on my web-browser, "Session Expired" message appear. Is this normal or not? Furthermore, if I start session with session_start() function, it doesn't works??? That's my code:
file 1.php:
<FORM ACTION="2.php">
............
<?php
session_start();
session_register("x");
if (session_is_registered("x")) ....... - this doesn't work
?>
file 2.php:
..........
<?php
if (session_is_registered("x")) ....... - this doesn't work too
?>
A problem with sessions ("Session expired")
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK