Re: Membership custom provider - logout function
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 22 Dec 2005 09:11:03 -0800
hi,
ValidateUser is not a login operation - it validates credentials - and retrurns a boolean according to the outcome of the validation. The membership provider is only an abstraction over a back end data store.
The login control sets the authentication ticket by calling FormsAuthentication.SetAuthCookie.
To clear the authentication ticket call FormsAuthentication.SignOut.
--------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com
I am writing a custom Membership provider for ASP.NET I have derived from the Membership provider and have supplied my own method that work against my security server. For login operation, for instance, I implemented the "ValidateUser(name, password)" function. I can not, however, find any function that maches the "logout" operation. As you may guess, it is a must to implement this function, but - no trace for it in the membership provider class. Please advice Many thanks Amitai
.
- Follow-Ups:
- Re: Membership custom provider - logout function
- From: Amitai Palmon
- Re: Membership custom provider - logout function
- References:
- Membership custom provider - logout function
- From: Amitai Palmon
- Membership custom provider - logout function
- Prev by Date: Re: Changing domain user password
- Next by Date: Re: What is the best approach?
- Previous by thread: Membership custom provider - logout function
- Next by thread: Re: Membership custom provider - logout function
- Index(es):
Relevant Pages
|