SOLVED: Checks to see if $_SESSION[quot;userquot;] has been defined: lt;? | Cheap Nursing Papers

SOLVED: Checks to see if $_SESSION[quot;userquot;] has been defined: lt;?

Checks to see if $_SESSION[“user”] has been defined: <?php // allows session info to be used on this page session_start(); // if there is no user session info, exit fast if( !isset($_SESSION[“user”]) ) { header(“Location: login.htm”); session_write_close(); exit(); } ?> <html> … The page goes here! … What does “session_write_close();” do?

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp