Hello,
I am getting a problem with SessionState in my Dotnetnuke website.
I am using it for a custom module like Session["Test"] = "Test";
I have setup <SessionState timeout="60"/> in my web.config.
In my IIS I have SessionTimeout = 60 in website properties -> Home Directory -> Configuration -> Options -> Enable Sessio State (Checked) and Timeout 60 minutes.
I have forms authentication timeout = 60.
<authentication mode="forms">
<forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
</authentication>
I have membership userIsOnlineTimeWindow = 15 as following.
<membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="15">
I have used snapsis menu for Displaying Dotnetnuke menu.
I observe that if I click the menu from snapsis, after 15 minutes it gives session timeout. Snapsis menu redirects to the pages.
But if I click the same links with custom module it does a __dopostback() and session works for 60 minutes.
Please suggest if any more settings are required for using sessions in Dotnetnuke website.
Do I need to change membership 's UserIsOnlineTimeWindow to 60?
Please help.
Thanks in Advance,
Ashish