Solved

navigate out

Posted on 1998-07-22
2
176 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
Comment Utility
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
Comment Utility
Why did you grade my answer a "D", it works 100%, so it deserves an "A", don't you think ?
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now