How do I continue a session from one page to another with PHP
Posted
by MrEnder
on Stack Overflow
See other posts from Stack Overflow
or by MrEnder
Published on 2010-03-30T02:05:40Z
Indexed on
2010/03/30
11:43 UTC
Read the original article
Hit count: 407
Ok I set up a session... but now how do I make it work on my other pages?
I tried doing
@session_start();
if(isset($_SESSION['$userName'])) {
echo "Your session is running " . $_SESSION['$userName'];
}
© Stack Overflow or respective owner