Session
-
Hi guys, I have a tiny misunderstanding in implementing my session timeout. I have a asp.net solution with three pages, Default.aspx, Logout.aspx, and Home.aspx, ofcourse all these share the same web.config file. In my web.config I have:
and
but only the Default.aspx is timing out and refreshes. But I want that to happen in the Home.aspx, when no activity is received it must redirect to the Default.aspx. I know I am messing up somewhere, can anybody help me please??? Thanks M
-
Hi guys, I have a tiny misunderstanding in implementing my session timeout. I have a asp.net solution with three pages, Default.aspx, Logout.aspx, and Home.aspx, ofcourse all these share the same web.config file. In my web.config I have:
and
but only the Default.aspx is timing out and refreshes. But I want that to happen in the Home.aspx, when no activity is received it must redirect to the Default.aspx. I know I am messing up somewhere, can anybody help me please??? Thanks M
-
MorgSim wrote:
timeout ="1"
Whats This..! Try this link it may help..! http://msdn.microsoft.com/en-us/library/h6bb9cz9(vs.80).aspx[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
sashidhar wrote: MorgSim wrote: timeout ="1" Whats This..! theat is my timeout in minutes, that's just testing man
-
MorgSim wrote:
timeout ="1"
Whats This..! Try this link it may help..! http://msdn.microsoft.com/en-us/library/h6bb9cz9(vs.80).aspx[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
Thanks though I will go through your link Morg
-
Hi guys, I have a tiny misunderstanding in implementing my session timeout. I have a asp.net solution with three pages, Default.aspx, Logout.aspx, and Home.aspx, ofcourse all these share the same web.config file. In my web.config I have:
and
but only the Default.aspx is timing out and refreshes. But I want that to happen in the Home.aspx, when no activity is received it must redirect to the Default.aspx. I know I am messing up somewhere, can anybody help me please??? Thanks M
Hello, In the "location path="home.aspx..." section you say that all anonymous users have access to this site (by using allow=?). Use deny instead of allow:
<location path="Home.aspx">
<system.web>
<authorization>
<deny users ="?"/>
</authorization>
</system.web>
</location>Otherwise, this page is not protected. Also, dont mix session and forms authentication timeout. Hope i'm right and this helps.