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

Challenging Worry

Ashley -> Health Educator

2024-04-20 11:42 PM

Depression Community

logo

Hello

Linda Q

2024-04-11 5:06 AM

Anxiety Community

logo

Addiction

Ashley -> Health Educator

2024-04-08 3:54 PM

Managing Drinking Community

logo

New Year's Resolutions

Ashley -> Health Educator

2024-03-25 2:47 AM

Managing Drinking Community

This Month’s Leaders:

Most Supportive

Browse through 411.748 posts in 47.053 threads.

160,490 Members

Please welcome our newest members: RDANIELA NICOLE, Lfr, CPADUA, DSHAIRRA PE, CLOVELY GRACE

Trouble logging out


15 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.
15 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
15 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: