X
點擊此處開啟此網站的行動版。

技術支援討論區

Session issue with website

已張貼

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

額外的系統細節

已安裝的外掛程式

Alexa Toolbar, Grammerly, Google Optimize, Full Screenshot

應用程式

  • 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

更多資訊

FredMcD
  • Top 10 Contributor
4272 個解決方法 59920 個答案

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.
這篇文章有幫助嗎?
引用

提出問題者

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

Here is the website URL: [http://dubaiconfident.com/ http://dubaiconfident.com/]
這篇文章有幫助嗎?
引用
FredMcD
  • Top 10 Contributor
4272 個解決方法 59920 個答案

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?
這篇文章有幫助嗎?
引用

提出問題者

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.
這篇文章有幫助嗎?
引用
Dinushi Dhananjani
  • Top 25 Contributor
4 個解決方法 202 個答案

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.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題