markmchugh
asked on
redirect deleting my session?
Hi,
I'm using the following to move to a new page
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=applied.php">';
does this delete the $_SESSION array?
I'm using the following to move to a new page
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=applied.php">';
does this delete the $_SESSION array?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
this is sorted, i think there was something on the server cos it just started to work with no changes!!!!
ASKER
here's the code
print_r ($_SESSION);
echo '<META HTTP-EQUIV="Refresh" CONTENT="1; URL=applied.php">';
then at the start of applied.php i have
session_start();
print_r ($_SESSION);
i can see the session, then when the redirect happens i just see Array ( ) Array ( )
very odd?