Solved

navigate out

Posted on 1998-07-22
2
178 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
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Put shading on half of picture 8 43
insert text field data into html script 13 42
Add image to into animation on website template 1 27
hosting images 4 30
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 discusses four methods for overlaying images in a container on a web page
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

810 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