.Net Authentication

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
 
G

Guest

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
 

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

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top