I am creating Login Page using user control.I am trying to login inside based on ID and Password.It is working fine,But when i log out it is not clear those id and pass word from cache.
So next time i try to open login page it is redirecting page which will appear after successful login.
What version of Umbraco are you using? If you're using version 4 then you should just use the ASP.NET controls for logging in/ logging out.
Check the cookies, that's the most likely place that isn't being cleared. Firefox has a number of good plugins (eg - Firecookie) which allow you to see the cookies on a site
Problem with Member Logout?
I am creating Login Page using user control.I am trying to login inside based on ID and Password.It is working fine,But when i log out it is not clear those id and pass word from cache.
So next time i try to open login page it is redirecting page which will appear after successful login.
Please send me any code to solve the problem.
Thanks in advance,
vijay.
What version of Umbraco are you using? If you're using version 4 then you should just use the ASP.NET controls for logging in/ logging out.
Check the cookies, that's the most likely place that isn't being cleared. Firefox has a number of good plugins (eg - Firecookie) which allow you to see the cookies on a site
Although late, I came across the same issue and solved it with this code:
It's the ClearMemberFromClient method that removes the necessary cookie from the client.
what way do you use for loggin in?
i always do it like this:
this with custommembershiprovider.
is working on a reply...