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

Single user won't stay logged in

Thread began 6/21/2019 2:27 pm by Justin@AdventDesign | Last modified 6/25/2019 7:12 pm by Ray Borduin | 20 views | 5 replies |

Justin@AdventDesign

Single user won't stay logged in

On an older site (probably 3 years old), the client notified me of a peculiar. We have one, and so far as we know only one, user that when the login, they are taken to the correct 'favorites' page, showing all the info one would expect. However, the moment they click away from that page, it's as if they have logged out. They cannot add to cart or checkout, as it immediately kicks them to the login page as if they are not logged in.

I have tested with other accounts with a similar access level, and they function fine. It's only this one account that seems to have the issue. I've looked at their user info in the user table, and I don't see anything out of the ordinary.

Any thoughts on things to check? I'm at a loss for how to troubleshoot.

Sign in to reply to this post

Ray BorduinWebAssist

Probably their browser settings. They probably turned off Cookies and/or Session Cookies. I'd have them try another browser or reset their browser settings to the default settings and that would likely fix the problem.

Sign in to reply to this post

Justin@AdventDesign

I wish it was that easy. I've tried it from two different browsers on my end and get the same issue. I try a test account with the same user access level using my same browser and have no problem. PMing you the two accounts so you can see from your end.

Sign in to reply to this post

Ray BorduinWebAssist

I'll need FTP access to debug this issue. I was able to reproduce the problem, but I can't be sure of the cause without debugging the site directly.

Sign in to reply to this post

Justin@AdventDesign

See PM

Sign in to reply to this post

Ray BorduinWebAssist

On line 159 of account/index.php you have:

php:
<?php $_SESSION['product_case'."".$row_rs_favorite["title"] ." ".$row_rs_favorite["subtitle"] .""] = $row_rs_favorite['case'?>



This causes some session variable names to have special characters which aren't allowed. I think the specific issue is the "!" in one of them, but they also have slashes, commas, and single quotes, but I think the exclamation point is the one causing issues.

I commented out that line and the user stays logged in.

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