Auto Logout User when Browser is closed
Last Post 06/16/2015 5:46 PM by Andy Stephenson DNN Creative. 1 Replies.
Author Messages
Craig Anderson
Posts:


--
06/15/2015 10:44 AM  
I noticed on your site (dnncreative.com) that when I sign in to my account, and then close my browser - it logs me out. How can I duplicate this on my DNN site? Now when I log in and then close the browser and then reopen the browser to my site - I am still logged in. I would love for my users to be logged out when the browser closes like dnncreative.com

Thank you
Andy Stephenson DNN Creative
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:169


--
06/16/2015 5:46 PM  
Hi Craig,

Just change the setting PersistentCookieTimeout inside the web.config. The value is in minutes, so you can just do the math and make it as long as you want for the login to be.

Sincerely,
Andy


---