Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > FormsAuthentication.SignOut() results inSystem.NullReferenceException

Thread Tools

FormsAuthentication.SignOut() results inSystem.NullReferenceException

Alex Diaz
Posts: n/a
Hi. I am getting a "System.NullReferenceException" when I call
FormsAuthentication.SignOut() from Session_End method in global.asax.
Code is as follow:

void Session_End(object sender, EventArgs e)

this.Session["user"] = null;


Any ideas why this could be happening?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using ajax call to fetch multiple results from multiple queries and showing them 1 by 1 as the results comes. Biranchi Narayan Panda ASP .Net 0 02-21-2010 03:46 PM
How can I make this more efficient? (combining DataSet results with the results of a DB lookup.) Ken Fine ASP .Net 3 07-23-2008 08:11 AM
Prefix increment/decrement results in lvalue, but postfix one results in rvalue? lovecreatesbeauty C++ 8 09-12-2005 10:23 PM
Displaying results as "pages" of a JTable and sorting across all results ... Monique Y. Mudama Java 1 06-28-2005 01:01 AM
Writing Testbench Output Results Analog Guy VHDL 1 09-29-2004 10:37 PM