Bharathi Level: Scholar
 Registered: 11-04-2005 Posts: 32
|
Re: Asp.net and Authentication problem?
Hi,
If you are using teh forms Authentication, Type thw following code in the code-behind window of the Default.aspx page.
Sub SignOut(ByVal objSender As Object, ByVal objArgs As EventArgs)
'Delete the cookie and sign out
FormsAuthentication.SignOut()
This procedure allows the user to sign out and deletes the cookie from the user's computer. This will even delete a persistent cookie.
Regards
bhar
Books for programmers
http://www.vkinfotek.com
|