Hi
When I try to signout of a page, I get this error only with Internet Explorer. The code works fine with firefox. Can someone tell me why? Thanks
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:System.NullReferenceException: Object reference not set to an instance of an object.
It would be better if we see the code and try to know what is causing that error.
regards
Thanks! There you go:
Sub SignOut(objSender As Object, objArgs As EventArgs)
FormsAuthentication.SignOut()
Response.Redirect(Request.UrlReferrer.ToString())
End Sub
The error message is:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details:System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
|
Source File: C:\Default.aspx Line:10
Stack Trace:
|
Thanking you in advance
0 comments:
Post a Comment