Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 inc_header.asp mechanics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

stever
New Member

65 Posts

Posted - 16 August 2005 :  12:57:28  Show Profile
I've been trying, unsuccessfully, to figure out how inc_header gets processed, with the ultimate goal of getting a "register" button to direct a user to the register.asp or policy.asp page. At present, when I click on the button I've inserted - which simply replaces the text version - I get redirected to the login page as if the login information was not correctly entered. Bafflingly, clicking on "Forgot Password" successfully redirects flow to the password.asp page without error. I'm just not seeing the difference in the code for the processing of the form or hyperlink.

Any insight on where to look in the header file and how to get this button working would be appreciated.

.Steve

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 August 2005 :  15:02:02  Show Profile  Send ruirib a Yahoo! Message
What exactly are you trying to do? Redirect a non registered user to register.asp?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

stever
New Member

65 Posts

Posted - 16 August 2005 :  15:19:55  Show Profile
Yes. Presently, when clicking on register, even though the hyperlink points to register.asp, the form processing invokes the login case, and since the login info is blank, I get the error portion of the default.asp page (asking to retry or register). I just can't make sense of it.

.
Steve
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 August 2005 :  15:55:49  Show Profile  Send ruirib a Yahoo! Message
Why a button? A button will mean, most of the times, that you will have a form and the button will submit the form. Probably you're just submitting the login form. Why don't you use an image instead of a button?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

stever
New Member

65 Posts

Posted - 16 August 2005 :  15:57:57  Show Profile
My bad!. It is an image and not a button, though it falls inside the code for the form, as does the forgotten password hyperlink. It just seems to process the form when clicked, rather than follow a hyperlink to register.asp.

.
Steve
Go to Top of Page

stever
New Member

65 Posts

Posted - 16 August 2005 :  16:07:04  Show Profile
Can I be bad a second time? I just noticed that I used INPUT instead of IMG. So dumb! Works now.

.
Steve
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 August 2005 :  16:22:28  Show Profile  Send ruirib a Yahoo! Message
Glag it's working :).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07