Solved

navigate out

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Save ms data to server side. 19 55
jQuery Sticky Menu 24 36
Help in good tutorials for PHP, HTML and CSS 6 40
Angular won't showing my array result in HTML 3 25
Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

856 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