I have the webmethod below which executes at 'onbeforeunload' event. it gives an error message that I catch to a log file: 'Object reference not set to an instance of an object' . The error happens sometimes. It does not happen all the time. Any known issues with the way I am accessing my session variables that I should be warned about? Please help? The error happens only on production and not during debbuging. I am setting those session variables at login, so I know for sure there is a value stored in those variables.
Public Shared Sub WriteToFile()
View Complete Post