.Net Authentication

  • Thread starter Thread starter Surjit
  • Start date Start date
S

Surjit

Hi.

My FormsAuthentication.SignOUT() is not functioning. I m using it from
C# (ASP.Net). When the user clicks logout i calls signout and the user
is redirected back to the login page. But when the user clicks back and
comes to the user profile home page then he can do all the jobs that he
can do as a login user (which should not be done).

I m assigning an Authenticatin Ticket to the user at the time of login.



What should i do.

Surjit
 
Hi,

We tried the following for our application.

Logout page : Session.Abandon();
FormsAuthentication.SignOut();

Our pages inherit from a base page in whose OnInit function we have put the
following :
Context.Response.Cache.SetCacheability( HttpCacheability.NoCache );

I think this should help. Pls get back in case of any probs

Gunjan
 
Back
Top