Page 1 of 1

session_start problem

Posted: Thu Jan 29, 2004 3:41 am
by Luis Almeida
:oops:

Hi all,

This is probably somethig that as changed when I upgraded my PHP.

I´m using 4.3.4 PHP version

Before the upgrade, the following code used to return the same session_id every time I refreshed the page or until I close the browser.
This is : I could access the session variables from other pages until I close the browser.

code:

Code: Select all

<?
	session_start();
	echo session_id();
	phpinfo();
	
?>
But the problem is that now that doesn´t hapen anymore. I mean:
Every time I refresh the page or if this page redirect´s to another the session_id is diferent and I loose the session variables

can anyone help me??

Thanks in advance