Hi, I'm trying to configure SQL Session state for my app. I've had the database configure, and added the following to my web.config Code: <sessionState allowCustomSqlDatabase="true" cookieless="UseCookies" mode="SQLServer" sqlConnectionString="Data Source=<my server>;Initial Catalog=<mydb>_sessionstate;Integrated Security=False;User ID=<myuseR>_sessionstate_user;Password=<mypassword" timeout="1500" /> However my app doesn't seem to be using the database, if I login and then query the ASPStateTempSessions table there is no session data stored. I've also tried entering incorrect connection string the web.config to see if it raises and error to confirm the setting is being picked up, but no error is thrown. Any ideas???
According to this forum post here: http://forum.Winhost.com/threads/form-authentication-timeout-not-working.9017/ The person "iqdesign" said they need a machine key to resolve their problem. Try creating a machine key and read this forum post on how to do it here: http://forum.Winhost.com/threads/how-to-manually-generate-your-own-machine-key-in-iis-7.7582/