Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 September 21st, 2004, 12:39 AM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page gets submitted automatically!

Hi,

I'm newbie in ASP.NET and i'm trying to implement password rules for my client and we want to have Forgot your password link in the login page. When i click that link it should take the user to someother page wherein the user is prompted for a secret question and then gets authenticated.

My problem here is, whenever i click the Forgot Your Password link, my login.aspx also gets submitted and goes into LOGIN page and executes login page. So, its not going to that required page. I'm calling a javascript function in the href's Onclick event and there i'm pointing to the required page.

I'm using ASP.NET Using VB.NET and VS.NET 2003. How to prevent this from happening?.

One more problem is, whenever i call Response.Redirect(URL,False) its calling the login.aspx page again and then only redirected to the designated page.

Can anyone help me out in solving this. Thanks a lot in advance.

Rgds,
Sen
 
Old September 22nd, 2004, 05:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You better post that on a .Net forum here for better response, as this is a classic ASP forum.

_________________________
- Vijay G
Strive for Perfection




Similar Threads
Thread Thread Starter Forum Replies Last Post
Add lines in php page automatically saifi4u PHP How-To 6 December 22nd, 2006 12:13 AM
Add lines in php page automatically saifi4u PHP How-To 1 December 19th, 2006 04:42 AM
Automatically launch web page mswombat SQL Server ASP 1 April 4th, 2006 01:56 PM
sending variable value to page when submitted crmpicco Classic ASP Basics 1 May 4th, 2005 07:23 PM





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