LoginStatus not logging users out?
Have you noticed your LoginStatus control doesn't log the user out when you click Logout? Well, to fix this all you need to do is add an id attribute.
This works
<asp:LoginStatus runat="server" id="loginstatus1" />
This doesn't work
<asp:LoginStatus runat="server" />
Searching the web, there are a lot of people complaining that the LoginStatus doesn't work properly. Solutions are rare, special thanks to Ric Hayman for finding this.
| Author |
: Paul Hayman |
| Published |
: 18 June 2007 |
Paul is the COO of kwiboo ltd consultant and has more than a decade of IT consultancy experience. He has consulted for a number of blue chip companies and has been exposed to the folowing sectors: Utilities, Telecommunications, Insurance, Media, Investment Banking, Leisure, Legal, CRM, Pharmaceuticals, Interactive Gaming, Mobile Communications, Online Services.
Paul is the COO and co-founder of kwiboo (http://www.kwiboo.com/) and is also the creator of GeekZilla.