prakashkyadas
November 4th, 2005, 12:14 PM
hello,
i am using forms authentication in developing a web site. it is working perfectly until forcing the user to login the site if they want to view the restricted web pages. but, the problem is coming when i am saying signout.
i pressed the signout buttons. it is going to the login page. when we type the url of the restricted page in the address bar it is going directly to the page without forcing the user to register to login.
i had written the sign out code as follows:
----------------------------------------
FormsAuthentication.SignOut();
Response.Redirect("xxxx.aspx");
pls reply me as soon as possible i need this very urgently.
bye.
prakash.
i am using forms authentication in developing a web site. it is working perfectly until forcing the user to login the site if they want to view the restricted web pages. but, the problem is coming when i am saying signout.
i pressed the signout buttons. it is going to the login page. when we type the url of the restricted page in the address bar it is going directly to the page without forcing the user to register to login.
i had written the sign out code as follows:
----------------------------------------
FormsAuthentication.SignOut();
Response.Redirect("xxxx.aspx");
pls reply me as soon as possible i need this very urgently.
bye.
prakash.