realin Posted February 8, 2008 Share Posted February 8, 2008 hiya, well i m trying to insert an iframe in admin section may i know how do i manage sessions on to that, because iframe can be accessed directly using the direct URL, so how do i manage it in the way that when sessions doesnt exist, then the iframe is not loaded, just like a check if(!$_SESSION) then exit(); thanks and regards Link to comment Share on other sites More sharing options...
Pursuant Posted February 11, 2008 Share Posted February 11, 2008 Maybe I am just confused, but that question seemed to make almost no sense at all. Don't Iframes inherit their parent's sessions? Anyways, sessions aren't a client-side thing, they are server-side -- it doesnt matter if the user goes to "admin.php" which has an iframe pointing to "frame.php", it would be exactly like a user going to "frame.php". Link to comment Share on other sites More sharing options...
Recommended Posts