close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login pages not recognizing session variables

Thread began 7/06/2015 7:41 am by sandy170299 | Last modified 7/09/2015 1:05 pm by Ray Borduin | 2365 views | 16 replies |

sandy170299

Login pages not recognizing session variables

Upon successful login, the system is supposed to recognize the user based on a session variable. My page is referencing a whole bunch of things, trying to get it to work, but they're all blank. I'm attaching a zipped file with my login pages.

Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you are storing the variable as: SecurityAssist_userID

but referring to it as: SecurityAssist_UserID

It is case-sensitive, so that might be the only issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

sandy170299

Okay - weird. On my login.php page, it looks as if it's storing 2 different session variables. SecurityAssist_userID AND SecurityAssist_UserID. So, wouldn't that mean that both are being set? This is what's happening. In my login page, in the security assist authenticate user dialog, under the session values tab, I removed the SecurityAssist_UserID ... all references. I then created a new session variable simply called userID. It's still not displaying this information on the index page.

Sign in to reply to this post

Ray BorduinWebAssist

Please send a current copy of both pages and I'll take a look.

Sign in to reply to this post
Did this help? Tips are appreciated...

sandy170299

Please see PM.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like the password requires at least 6 characters. Are you entering a valid password? If you could provide a URL and maybe FTP access I could fully debug and figure out what is going wrong.

Sign in to reply to this post
Did this help? Tips are appreciated...

sandy170299

I know there are more than 6 characters in the PW field. I will send URL and FTP in a PM to you.

Sign in to reply to this post

Ray BorduinWebAssist

I was able to log in with the username and password from the database.

Sign in to reply to this post
Did this help? Tips are appreciated...

sandy170299

I just re-uploaded index.php to the server. Do you need me to re-upload other pages as well? Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

Your pages appear to be working now. It looks like your index page was using the wrong session variable name.

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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...