Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl 101 11 72
CGI takes almost 2 minutes to load using thttpd 20 43
How to translate path in URL with PHP? 11 37
WCAG (Web Content Accessibility Guidelines) levels 3 65
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to count occurrences of each item in an array.

932 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

13 Experts available now in Live!

Get 1:1 Help Now