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
4269 решений 59870 ответов
Размещено

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
4269 решений 59870 ответов
Размещено

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 решений 193 ответов
Размещено

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.
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.