View Full Version : Browser Compatibility


Phil Rolf
03-13-2007, 08:30 AM
I have an include file for checking to make sure the user has logged in. If not, redirect back to the login page. With Windows the redirect works fine, however in Firefox and Netscape it does not. When using either of these browsers I get the error

404 Not Found
The requested URL /v8nksoa/rankingsys/\\www.prwebgrp.com\v8nksoa\logins\verifyreflogin.a5w was not found on this server.

The portion in RED is being added to the front of the redirect. Here is how the code is in the include file, I did not have the complete path until I ran into this problem and decided to be more specific. In either case it does not work in the other two browsers.

<meta name="robots" content="noindex">
<meta http-equiv=Content-type content="text/html; charset=unicode">
if eval_valid("session.__protected__FlagIsLoggedIn") = .f. then
session.targetURL = request.request_uri
end if
<meta content="MSHTML 6.00.2900.2627" name=GENERATOR></head>

Any ideas....

Steve Wood
03-13-2007, 09:58 AM
Your code works exactly correctly if I execute it on a page. Maybe you are testing it from inside the firewall where the URL would naturally not be valid.

Phil Rolf
03-13-2007, 11:26 AM
I discovered this when one of the refs was checking out the web page using FireFox. I never knew I had a problem. Then I tried with the netscape from my computer at work and I saw the problem. Went back to IE and the problem was gone....

I am assuming the problem is with the include file as I have a button where the refs can login directly. If they do that then the redirect is bypassed and they can continue going thru the site.

Phil Rolf
03-14-2007, 01:29 PM
For testing, I changed the name of the redirect a5w page. When I do the login test using FireFox the same error comes up

404 Not Found
The requested URL /v8nksoa/rankingsys/\\www.prwebgrp.com\v8nksoa\logins\verifyreflogin.a5w was not found on this server.

This is NOT the a5w defined in the redirect, it should be forms.a5w . Of the little I know about FF, I went in and cleared the cache and any thing else I could think of and still get the same error. Can anyone lead me in the right direction for clearing out wherever FF stores past pages that have been called up?


Phil Rolf
03-14-2007, 09:19 PM
I found the problem to be with the slashes in the URL. I found one of my include files that checks for login to have the url that would look like this...


I changed it to this and Netscape and Firefox now recognizes the URL