Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

opera won't process asp response.redirect

need help figuring this out

2:48 pm on Feb 19, 2004 (gmt 0)

New User

10+ Year Member

joined:Feb 4, 2004
votes: 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")
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?


[edited by: ojosparausted at 3:14 pm (utc) on Feb. 19, 2004]

2:51 pm on Feb 19, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 13, 2002
votes: 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 :)

4:14 pm on Feb 19, 2004 (gmt 0)

New User

10+ Year Member

joined:Feb 4, 2004
votes: 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.