Jump to content

Problem with session in IE


djdealer

Recommended Posts

I use login script:

session_start();

session_regenerate_id();

$_SESSION[id] = $rows[id];

session_write_close();

header("location: logged_in.php");

in other browsers this work fine, but in IE i get back on login page. i tested echo $_SESSION[id] after i give value to $_SESSION[id], it show my needed id, but when i test echi $_SESSION[id] in logged_in.php page, $_SESSION[id] was be emty! where is problem? Why only on IE this not work?

Link to comment
https://forums.phpfreaks.com/topic/165410-problem-with-session-in-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.