Solved

navigate out

Posted on 1998-07-22
2
181 Views
Last Modified: 2010-04-09
hi I have a question .
   How acn I navigate out to another page  .
   I do not want to use the submit .
   the code where it should jump is below

<HTML>
<BODY>
<% dim Username, Password
Username = Request.Form("Username")
Password = Request.Form("Password")
Set db = Server.CreateObject("ADODB.Connection")
db.open "WebAuc"

fsSQL = "Select * from Access where UserID = '" _
          + Username + "' and Password = '" + Password + "'"
             
Set fsRS = db.execute(fsSQL)  
   
If Not fsRS.EOF Then
      'JUMP AT THIS POINT
Else %>      
        DisplayErrorLoginMessage          
<% End If %>
<BR>
</BODY>
</HTML>

How can it be done ?
and How ?
0
Comment
Question by:seahpc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 28

Accepted Solution

by:
sybe earned 50 total points
ID: 1844831
1. Remove all html-output before the jump (if you don't you get an asp-error).

2. The jump code is
<%
Response.redirect("anotherpage.asp")
%>
0
 
LVL 28

Expert Comment

by:sybe
ID: 1844832
Why did you grade my answer a "D", it works 100%, so it deserves an "A", don't you think ?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help with this homework problem. 5 79
html form layout 4 53
Validating number not work with decimal 4 46
asp.net, radiobuttonlist, c# 3 70
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question