Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 17th, 2005, 09:02 PM
Registered User
 
Join Date: Jul 2003
Location: Allentown, PA, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default SignOut is broken?

I've noticed that the Sign Out link doesn't work.
Specifically, when clicking Sign Out from the ShowNews.aspx page.
A Javascript error for javascript_doPostBack('Menu$Header$Signout',") is displayed by the Browser(IE & Netscape).

My test environment is an implementation of thePhile code download
without modifications.

I have also noticed showNews.aspx causes: theForm = document.default; "missing name after .operator"

Any help correcting these problems is greatly appreciated.

Thank you,
Shawn

Shawn Cohan
info@allsquared.com
  #2 (permalink)  
Old June 21st, 2005, 01:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You're right about this. Have you determine what is supposed to happen when you click on Sign Out? Where is the Sign Out button located in the project and what code is supposed to execute?

Do you think the button click procedure is executing?

What is the error message telling you exactly?

__doPostBack is the name of the JavaScript function that initiates a postback, and the argument to this function tells ASP.NET what event to call.

If you view the source on the page with the problem you will see this line:
<a id="Menu_Header_SignOut" href="javascript:__doPostBack('Menu$Header$SignOut ','')">Sign Out</a>

Compare this line to what you see when you view source on other pages where the Sign Out link works correctly.

I don't have an answer for you right now, but you need to approach this using a logical set of debugging steps and try to home in on the problem that way.

Eric


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to signout completely SpringSummer ASP.NET 1.0 and 1.1 Basics 2 April 11th, 2007 11:01 AM
Signout Not Working ~Bean~ ASP.NET 1.0 and 1.1 Basics 5 July 12th, 2006 08:35 AM
Signout Prolem hunzian78@yahoo.com ASP.NET 1.0 and 1.1 Basics 4 April 5th, 2006 01:59 AM
Problem with ASP.NET "signout" sharj ASP.NET 1.0 and 1.1 Professional 3 January 23rd, 2006 03:10 AM
the err of SignOut allanhu BOOK: ASP.NET Website Programming Problem-Design-Solution 3 May 3rd, 2005 09:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.