| opera won't process asp response.redirect need help figuring this out |
ojosparausted

msg:1586086 | 2:48 pm on Feb 19, 2004 (gmt 0) | I have a drop down menu on my site that I'm using for navigation. Basically I take the form selection and use a response.redirect to take the user to a new page. It works perfectly in recent versions of IE, Mozilla, and Netscape. Opera 7.23 won't processs the script correctly: I get an OBJECT MOVED error everytime. I have tried using a response.buffer=true statement, response.clear, response.end in different combinations but nothing works. I even tried server.redirect(or something to this effect that I found on the MS site). My code is as follows: <% dim GoToURL If Request.ServerVariables("CONTENT_LENGTH") > 0 then GoToURL = Request.Form("filename") Response.Redirect(GoToURL) End If %> I've tried simpler code but I get the same results with Opera. I was also wondering if perhaps I have my Opera settings restricted , but I don't think that's the case. Again, works everywhere but Opera. Any ideas? FB [edited by: ojosparausted at 3:14 pm (utc) on Feb. 19, 2004]
|
Gibble

msg:1586087 | 2:51 pm on Feb 19, 2004 (gmt 0) | First, welcome to webmaster world. Second, no urls, so remove the one from your comment :) Third, do a response.write(GoToURL) to make sure the variable contains what you think it does. Foruth, try just a response.redirect("http://www.webmasterworld.com") with a url to make sure response.redirect is working properly :)
|
ojosparausted

msg:1586088 | 4:14 pm on Feb 19, 2004 (gmt 0) | Putting a defined URL (webmasterworld.com) works for IE and the rest but still doesn't function in Opera. A response.write displays the correct variable in all of the browsers including Opera. It seems that Opera is getting the variable but not acting on it. The Object Moved error rears it's ugly head.
|
|
|