C
|
cgphp 10/26/2013 |
In the beginning of EXTERNAL pages, add the following line after the opening php tag: session_start(); |
![]() |
bbarker author 10/26/2013 |
Actually I have that on the page already... although it's about the 10th or 11th line - right after a bunch of // Remarks lines. |
![]() |
Admin 10/27/2013 |
PHP session variables are available in all PHP files. As Cristian mentioned all you need to do is to include session_start() in the beginning of custom file. session_start(); |
![]() |
bbarker author 10/27/2013 |
PHP session variables are available in all PHP files. As Cristian mentioned all you need to do is to include session_start() in the beginning of custom file. Try to put something like this in the beginning of external PHP page: session_start();
|
![]() |
bbarker author 10/27/2013 |
Even simple echos don't show up.... |
![]() |
Admin 10/28/2013 |
This might be incorrect syntax, $_SESSION (correct) vs $_Session (incorrect) echo $_Session['namergn'];
echo $_SESSION['namergn']; |
![]() |
bbarker author 10/28/2013 |
Yes!!! That was it. Good Monday morning present. Thanks Sergey. $_Session
$_SESSION |
![]() |
Admin 10/28/2013 |
As a rule of thumb - assume everything is case sensitive unless specified otherwise. |