Wrox Programmer Forums
|
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
 
Old April 4th, 2005, 11:45 AM
Authorized User
 
Join Date: Jul 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem: 'Sign Out' on "MyAccount.aspx"

I have been observing a problem...sorry if it has been
discussed...when viewing the page "MyAccount.aspx" while
logged-in (of course) the header link has the link
"Sign Out". This does not work on this page, but instead
produces the error inside the table that reads
" you must supply your original password..." (etc., etc.)

Has anyone observed this and can you tell me how to fix it?

I have observed this problem also occurs in 'thePhile'
example website, not just my own code.

Thx much,
Reid C.

Reid C.
__________________
Reid C.
 
Old April 6th, 2005, 11:19 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just put a breakpoint in the code-behind and walk through the code to see what's happening.

Eric
 
Old April 7th, 2005, 09:41 AM
Authorized User
 
Join Date: Jul 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, Eric...but did you mean in the code-behind for "MyAccount.aspx"?
I put one in there and it didn't give me anything...the problem is not
that the code breaks and gives me an error page but that the "SignOut"
linkbutton produces the validation summary at the top of the main panel,
rather than signing out and returning me to the default page like it does
on every other page on the site.
Also, it does the same thing on both the 'thePhile' sample site AND on
'ericengler.com'.
I'll let you know if I come up with anything.


Reid C.
 
Old April 10th, 2005, 01:01 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I didn't understand what you were saying. You can fix it easily by going to the SignOut control in the SiteHeader user control, and setting the CausesValidation property to false.

Eric
 
Old April 11th, 2005, 11:22 AM
Authorized User
 
Join Date: Jul 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot, Eric, I really appreciate your help...
another example of my learning things like asp.net
control attributes by trial-error-ask-learn.

Reid C.

Reid C.





Similar Threads
Thread Thread Starter Forum Replies Last Post
MyAccount.aspx Error coolnetboy BOOK: ASP.NET Website Programming Problem-Design-Solution 5 June 15th, 2006 05:51 AM
problem in getting rid of '+' sign in url encoding vopatel Javascript How-To 0 May 21st, 2005 11:36 AM
Invalid cast in MyAccount.aspx carinlindberg BOOK: ASP.NET Website Programming Problem-Design-Solution 6 January 15th, 2005 11:49 PM
MyAccount.aspx : can't modify email address Gjerstad BOOK: ASP.NET Website Programming Problem-Design-Solution 5 September 17th, 2003 01:52 PM
exiting MyAccount.aspx robert BOOK: ASP.NET Website Programming Problem-Design-Solution 2 July 17th, 2003 11:23 AM





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