X
Tap here to go to the mobile version of the site.

Support Forum

Session issue with website

Posted

My website is having problem with session and cookies, they are failing and users are keep on getting logout and they tries to login again and again. Sometime it works fine, what could be the issue? I tried all the different settings/help on this forum but still facing the same issue.

My website is having problem with session and cookies, they are failing and users are keep on getting logout and they tries to login again and again. Sometime it works fine, what could be the issue? I tried all the different settings/help on this forum but still facing the same issue.
Quote

Additional System Details

Installed Plug-ins

Alexa Toolbar, Grammerly, Google Optimize, Full Screenshot

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36

More Information

FredMcD
  • Top 10 Contributor
4269 solutions 59847 answers

If this were just a few users, it might be something on their system. But you indicated many users are having issues.

Please post your website's address so we can check it out.

If this were just a few users, it might be something on their system. But you indicated many users are having issues. Please post your website's address so we can check it out.
Was this helpful to you?
Quote

Question owner

Here is the website URL: http://dubaiconfident.com/

Here is the website URL: [http://dubaiconfident.com/ http://dubaiconfident.com/]
Was this helpful to you?
Quote
FredMcD
  • Top 10 Contributor
4269 solutions 59847 answers

Please explain the problem in detail. What happens? What are the exact error message(s) ?

Are you seeing any kind of pattern?

Has the website been tested for malware?

Please explain the problem in detail. What happens? What are the exact error message(s) ? Are you seeing any kind of pattern? Has the website been tested for malware?
Was this helpful to you?
Quote

Question owner

Website is clean, there is no malware, I will try to find the pattern and get back to you.

Thank you again for taking time.

Website is clean, there is no malware, I will try to find the pattern and get back to you. Thank you again for taking time.
Was this helpful to you?
Quote
Dinushi Dhananjani
  • Top 25 Contributor
4 solutions 193 answers

Disable the anti-tampering protection on the individual page or globally in the pages element of the web.config file using the enableViewStateMac attribute with a false value. I mention this purely for the sake of completeness - you should never do this on a production website.

   Manually generate a machine key and share that same value across each application (you could use the same key for all your applications, but it is sensible to use one key per application to maximise security), on each of your servers. To do this you need to generate keys (do not use any you may see in demos on the internet, this defeats the purpose of the unique machine key), this can be done programatically or in IIS manager (see http://www.codeproject.com/Articles/221889/How-to-Generate-Machine-Key-in-IIS7). Use the same machine key when deploying the website to all of your servers.
Disable the anti-tampering protection on the individual page or globally in the pages element of the web.config file using the enableViewStateMac attribute with a false value. I mention this purely for the sake of completeness - you should never do this on a production website. Manually generate a machine key and share that same value across each application (you could use the same key for all your applications, but it is sensible to use one key per application to maximise security), on each of your servers. To do this you need to generate keys (do not use any you may see in demos on the internet, this defeats the purpose of the unique machine key), this can be done programatically or in IIS manager (see http://www.codeproject.com/Articles/221889/How-to-Generate-Machine-Key-in-IIS7). Use the same machine key when deploying the website to all of your servers.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.