homepage Welcome to WebmasterWorld Guest from 54.227.160.102
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Opera Browser Usage and Support
Forum Library, Charter, Moderator: open

Opera Browser Usage and Support Forum

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

10+ Year Member



 
Msg#: 85 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 85 posted 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

10+ Year Member



 
Msg#: 85 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Opera Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved