J
Jeff
hey
asp.net 2.0
I've placed a LoginStatus control on a master page (so I don't need to have
it on every webpage) in my project. When I click on this control to logout,
I get this error:
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll but was not handled in user code
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll but was not handled in user code
The program '[3188] WebDev.WebServer.EXE: Managed' has exited with code 0
(0x0).
This is part of my web.config.
<authentication mode="Forms">
<forms loginUrl ="Default.aspx"/>
</authentication >
This is my LoginStatus control inside my master page:
<asp:LoginStatus ID="LoginStatus1" runat="server" />
Any suggestions on how to solve this is very welcome! I would prefer to use
the LoginStatus control on the master page. Placing on the webpage means I
would have to go through every webpage in my project and add a LoginStatus
control to it...
If this is not possible, maybe this could help:
Instead of using the LoginStatus control to logout user, write a method that
do the outlogging.... I'm not sure if it's possiple... - Then I could call
this method from a MenuItem
any suggestions?
Jeff
asp.net 2.0
I've placed a LoginStatus control on a master page (so I don't need to have
it on every webpage) in my project. When I click on this control to logout,
I get this error:
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll but was not handled in user code
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in
mscorlib.dll but was not handled in user code
The program '[3188] WebDev.WebServer.EXE: Managed' has exited with code 0
(0x0).
This is part of my web.config.
<authentication mode="Forms">
<forms loginUrl ="Default.aspx"/>
</authentication >
This is my LoginStatus control inside my master page:
<asp:LoginStatus ID="LoginStatus1" runat="server" />
Any suggestions on how to solve this is very welcome! I would prefer to use
the LoginStatus control on the master page. Placing on the webpage means I
would have to go through every webpage in my project and add a LoginStatus
control to it...
If this is not possible, maybe this could help:
Instead of using the LoginStatus control to logout user, write a method that
do the outlogging.... I'm not sure if it's possiple... - Then I could call
this method from a MenuItem
any suggestions?
Jeff