Solved

navigate out

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

623 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