Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to dynamically set the form action using jQuery.
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 …

706 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

18 Experts available now in Live!

Get 1:1 Help Now