Solved

address in the box in not the page's address.

Posted on 2003-12-08
1
164 Views
Last Modified: 2010-05-18
I tested this:
In the address box, typed in http://127.0.0.1/test/Go.asp and returned. I then clicked the refresh button and I could see the page was redirected to Go.htm but found http://127.0.0.1/test/Go.asp was still in the address box.
Can you explain why ??

---------Go.asp-------------------
<%
if session("antiStatus")="Go" Then
response.redirect("Go.htm")
else
session("antiStatus")="Go"
end if
%>
This is Go.asp.
---------Go.htm-------------------
<html>
This is Go.htm.
</html>
----------------------------------
0
Comment
Question by:johnwood
[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
1 Comment
 
LVL 3

Accepted Solution

by:
xiong8086 earned 80 total points
ID: 9902079
i think it is normal, since your code is functioning properly. i also had this experience, when the session timeout, i redirect my page to "login.asp", the content is the login page, but original URL in the address bar...

don't worry, :)
0

Featured Post

Industry Leaders: 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

When you work with shopping cart / ecommerce relates web sites, you need to pass the certain form post details to the payment gateway process page with required details for the products items you give to order. Also you may need to track the ordered…
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

738 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