Forms Authentication Signoff

G

Guest

I am using forms authenication with a custom signon page and I execute the
following statement to force a signoff from a signoff web page...

FormsAuthentication.SignOut();

I have noted that if I then redierct to another form that is supposed to be
protected from entry due to lack of authentication that the form is displayed
anyway. If I then enter data into the form and post the form, processing is
only then redirected to my custom sign-on form. My preference and
understanding is that the form not even be displayed due to lack of
authentication. Sometimes it works correctly.... and other times it does
not.

The same behavior is exhibited if I execute the
FormsAuthentication.SignOut() and then simply change the Browser URL to
attempt to navigate back to a restricted web page. The web page is
displayed.... however once I enter data and post the form, only then is my
signon web page displayed.

Help !!!
 
G

Guest

I am using Response.Redirect.... I just tried Server.Transfer and I see the
same results.

Philip
 
B

bruce barker

this because the browser cached the page, it did not go to the server to get
it. you can expire the pages, but then when the user goes back through
history, they will get a dialog asking if they want to repost.

-- bruce (sqlwork.com)
 

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,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top