Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

776 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