If you want to use session in a page then write session_start() on the top of the page before anything write.
if you want to store something in session then $_SESSION['KEY'] = 'VALUE';
if you want to access value from session then $somevalue = $_SESSION['KEY'];
if you want to check that session exists or not then if(isset($_SESSION['KEY']))
hai.tanks 4 ur guide.the session that i wan is whereby only authorised person can view or access the page. and the page can be viewed by using the link.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.