Hi,
My code used to work fine - but for some reason my session is not
getting passed on, and I can not see why
The site is live at expert-world.com
For testing I have echo'ed up the session variables
If you log in you see them - you can use
User ID: joh273
password : pass003
Login is up in right hand top corner.
After logging in you will see:
THIS IS MEM-HEAD
auth = yes
expert = joh273
contact = John Simmons
type = E
pub = n
etc.
So the seesion is running OK here
Then hitting CONTROL PANEL:
I just get:
THIS IS MEM-CONTROL
again the session variables should be displayed
but there aren't any
You'll just see "THIS IS MEM-CONTROL"
The code for mem_control.php is:
<?php
/* mem_control.php
*
* m - Member Control Page
*
*/
@session_start();
echo "<br>THIS IS MEM-CONTROL<BR>";
foreach($_SESSION as $key=>$value)
{
echo "<br>".$key." = ".$value."<br>";
}
exit;
So I should get the session variables.
I can NOT see why the session is getting terminated.
I am using Opera 11.00
Maybe it works in other browsers - what do you see ?
Please note that the url "internet-marketing-guru-expert-control.html"
is converted to by the .htaccess to "mem_control.php".
From .htaccess
MEMBERS MENU BAR
RewriteRule internet-marketing-online-money-guru-expert.html$ mem_start1.php [NC,L]
RewriteRule internet-marketing-software-tools.html$ list_tools.php [NC,L]
RewriteRule internet-marketing-tutorials-tutes.html$ list_tutes.php [NC,L]
RewriteRule internet-marketing-guru-expert-control.html$ mem_control.php [NC,L]
Thanks for helping.
.