Login not working
I can login just fine, however, I cannot go to any protected page. The Session Variable that says I am logged in is not being set.
Has anyone experienced this?
I can login just fine, however, I cannot go to any protected page. The Session Variable that says I am logged in is not being set.
Has anyone experienced this?
From login page
"sessionNames" => explode($WA_Auth_Separator,"SecurityAssist_uID"),
This Session ID is not being set.
Code on protected page:
<?php
if (!WA_Auth_RulePasses("Logged in to admin")){
WA_Auth_RestrictAccess("index.php");
}
?>
I know the login works because when you run through the wizard it ignores the success redirect page specified and leaves the user on the login page after clicking login. It does show the message "you are Logged In", but after that point I cannot go to any protected page.
first thing to double check is that the server is properly configured to save sessions.
use the sessionTet.php file from the following thread to test the server:
showpost.php?p=23826&postcount=2
if the test fails, it is most likely the session.save_path setting in the php.ini file, you will need to contact the host to have them fix the issue.
If the test passes and you are still having a problem.
try adding the following code to the login page after the <body> to double check what sessions are being set by login:
<?php var_dump($_SESSION); ?>
And look in the access rules manager to see how the Logged in to admin rule is defined.
Server saves sessions properly - tested and confirmed
Sessions being set verified with Firebug
Rule has been checked and double-checked.
The secure session ID is simply not being set.
I have created a support ticket so we can look into this issue further.
To view and edit your support ticket, please log into your support history:
supporthistory.php
If anyone else is experiencing this same issue, please append to this thread.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.