Get the Support You Need

Learn from thousands of users who have made their way through our courses. Need help getting started? Watch this short video.

today's top discussions:

logo

What food is actually considered Healthy..?

Evolution

2025-03-03 11:17 AM

Healthy Weight Community

logo

Health Educators or Moderators missing?

Evolution

2025-03-03 11:16 AM

Quit Smoking Community

logo

Est- ce qu'il y a des forums actifs en franc¸ais ?

Timbo637

2025-02-20 12:27 PM

Quit Smoking Community

logo

My Quit Meter

Timbo637

2025-02-18 6:49 AM

Quit Smoking Community

This Month’s Leaders:

Most Supportive

Most Active

Most Loved

Browse through 411.777 posts in 47.070 threads.

161,652 Members

Please welcome our newest members: Chunzliu, Mbonne1, Lilidala, AnnaM, CamillaMason

Trouble logging out


16 years ago 0 180 logo logo logo logo logo logo logo logo logo logo 0
 
No problem and thanks for having someone look into it so soon.
16 years ago 0 955 logo logo logo logo logo logo logo logo logo logo 0

CM,

Thanks for letting us know!

I have forwarded this error message to IT support and they will e looking into it as quickly as possible!

 

Sarah, Health Educator
16 years ago 0 180 logo logo logo logo logo logo logo logo logo logo 0
 
Hi Ya:
 
I am having a problem recently with signing off, I keep getting the following error message.
 

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:

 
Line 28:     Protected Sub btnLogout_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnLogout.Click
Line 29:         Dim userCookie As HttpCookie = Request.Cookies("user")
Line 30:         userCookie.Expires = Now.AddHours(-24)
Line 31:         Response.Cookies.Add(userCookie)
Line 32:         Response.Redirect("/InterAppComm.aspx?key=out&actionid=logout")


Source File: C:\Websites\paniccenter.net\SG\Clients\pc3\incl\header.ascx.vb    Line: 30

Stack Trace:

 
[NullReferenceException: Object reference not set to an instance of an object.]
   Clients_pc3_incl_header.btnLogout_Click(Object sender, ImageClickEventArgs e) in C:\Websites\paniccenter.net\SG\Clients\pc3\incl\header.ascx.vb:30
   System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +86
   System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
   System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746

 


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 

Reading this thread: