Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 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 January 2nd, 2004, 01:51 PM
Registered User
Join Date: Jan 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 15 login.asp code

I get the following when I open the code. TEXTBOX is the actual white input box. I looked for a mis " some palce and I can find it.

E-Mail Address:TEXTBOX VALUE="" SIZE="40">
Password: TEXTBOX

Here is my code from the book / downloaded code

<FORM ACTION="CheckLogin.asp<% If Request("SecondTry")="True" Then
                                 Response.Write "?SecondTry=True"
                               End If %>" METHOD="POST">

Thank you

Old January 3rd, 2004, 07:11 AM
Authorized User
Join Date: Jun 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

you didn't post the rest of your form: look if the rest of your form is ok, i mean if you have all the end-tags you need. try cleaning up the code, formatting it more nicely so you can see in a second where the problem could be.
I mean in this way:
<FORM ACTION="CheckLogin.asp
If Request("SecondTry")="True" Then
  Response.Write "?SecondTry=True"
End If
i don't see an error here, so i guess it must be in the rest of your form (or in the part before it.

Maybe it could also be more clearly if you work this way:
response.write "<FORM METHOD=""POST"" ACTION=""CheckLogin.asp"
If Request("SecondTry")="True" Then Response.Write "?SecondTry=True"
response.write """>"

Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 15 AddBid.ASP rauf BOOK: Beginning ASP 3.0 1 November 11th, 2008 01:51 PM
Ch 15 Register.asp query daveyarwood BOOK: Beginning ASP 3.0 0 July 16th, 2005 12:52 PM
Ch. 15 Add'l Code? gekkster99999 BOOK: Beginning ASP 3.0 0 February 1st, 2004 10:55 PM
CH.15 NEED HELP stacy BOOK: Beginning ASP 3.0 1 January 21st, 2004 03:37 AM

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