YAFLogo

guest
  • guest
  • Guest Topic Starter
13 years ago
When we check the "Remember Me" checkbox on the login screen, it seems, this has an effect only within 24 hours, and we need to login again and again every new day. Is it a bug, or is there a setting we can change that period to a very big time period or something as "never expires"?
Sponsor
squirrel
13 years ago

When we check the "Remember Me" checkbox on the login screen, it seems, this has an effect only within 24 hours, and we need to login again and again every new day. Is it a bug, or is there a setting we can change that period to a very big time period or something as "never expires"?

Originally Posted by: wisekat 

This has to do with your application pool resetting and your server issuing new encryption keys for authentication. When this happens, the keys that encrypted your cookies and login data changed and are rejected by the server, so you are not 'remembered' and have to login again. The only way to fix this is to create a set of keys for the application. These keys must then be kept in your web.config forever (being copied from web.configs over to the new web.configs during upgrades).


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
guest
  • guest
  • Guest Topic Starter
13 years ago

The only way to fix this is to create a set of keys for the application. These keys must then be kept in your web.config forever

Originally Posted by: squirrel 

I'm new to this. Can you give me some hints how to do that?

squirrel
13 years ago

The only way to fix this is to create a set of keys for the application. These keys must then be kept in your web.config forever

Originally Posted by: wisekat 

I'm new to this. Can you give me some hints how to do that?

Originally Posted by: squirrel 

First some questions: is YAF.NET running as a sole application in it's app pool or do you have it mixed with other ASP.NET applications?


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
guest
  • guest
  • Guest Topic Starter
13 years ago
It's running as a separate IIS app.