At the moment users who log in tend to get automatically logged out after about 10 minutes of inactivity; how can I increase this? As you can see I have tried to change the roleManager cookieTimeout property, but this seems to have had no effect. Is it even related? Here's my web.config:
Refer :http://community.discountasp.net/default.aspx?f=5&m=18155 Vikram DiscountASP.NET www.DiscountASP.NET
Thanks very much for your quick response. The solution seems to have been 'to add a machinekey into the web.config file, thereby guaranteeing that the encryption/decryption will work between app restarts', but I have no idea how to do that. I've just looked at the MSDN page for mackineKey and it seems confusing. Would someone mind explaining what code to add, and where?
To generate a machine key use this online tool :http://www.orcsweb.com/articles/aspnetmachinekey.aspx Add the generated machinekey section to your web.config. Vikram DiscountASP.NET www.DiscountASP.NET