Simple Forms Authentication Question

  • Thread starter john_20_28_2000
  • Start date
J

john_20_28_2000

In this web.config:

<authentication mode="Forms" >
<forms name=".COOKIEDEMO"
loginUrl="login.aspx"
protection="All"
timeout="30"
path="/"/>
</authentication>
<authorization>
<allow users="?" />
</authorization>

When the user is authenticated on login.aspx, the user is directed to
default.aspx.

Okay, does this mean that if I have default.aspx on the screen and walk
away for 31 minutes, and then come back and hit refresh, that I will be
directed back to login.aspx becaues my cookie has expired?

What if I delete my cookie during the 30 minutes? Or is the value held
on the server?

I ask because I deleted the cookie and refreshed the default.aspx page.
I was not redirected to login.aspx.

Thank you for helping me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top