close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login not working

Thread began 8/11/2012 2:05 pm by bjgarner241692 | Last modified 8/13/2012 4:22 pm by Jason Byrnes | 866 views | 4 replies |

bjgarner241692

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?

Sign in to reply to this post

bjgarner241692

From login page

php:
"sessionNames" => explode($WA_Auth_Separator,"SecurityAssist_uID"),



This Session ID is not being set.


Code on protected page:

php:
<?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.

Sign in to reply to this post

Jason ByrnesWebAssist

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:
<?php var_dump($_SESSION); ?>



And look in the access rules manager to see how the Logged in to admin rule is defined.

Sign in to reply to this post

bjgarner241692

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.

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...