Session Problem in IE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have a problem in Sessions 
 
my code works in firefox,chorme but not in IE
 
here is my code
 
abc.php(session creat in this page)
===============================
<?php
session_start();
//------------------some code----------------------
 
$_SESSION['id'] = $user_id;
?>
 
 
otherpage.php(retrive value from session)
================================
<?php
session_start();
$id = $_SESSION['id'];
if($id=="")
{
 echo "Your Session has Expired";
 exit;
}
else
{
//---------some code
}
?>
 
in IE, session variable do't have a value.
 
plz tell me efficient solution 
 
 
thankssss











Mein kaha rukta ho aarsh-o-farsh ki awaz se...
Mujhe jana ha bohat oocha haad-e-paarwaz se



      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux