Link to home
Start Free TrialLog in
Avatar of markmchugh
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?
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of markmchugh
markmchugh

ASKER

very odd, my session is being destroyed somehow

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?
            
this is sorted, i think there was something on the server cos it just started to work with no changes!!!!