Solved

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

Posted on 2003-12-08
1
162 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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
illegal characters in XML using UTF-8 8 43
website file permissions 4 77
Clean URL from GET variables 2 112
Tool to email me when a website changes 29 133
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…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

808 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