p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: problems with netscape vs ie


Message #1 by "George Lanitis" <glanitis@c...> on Wed, 29 Mar 2000 23:05:32 -0500
Make sure your sending properly encoded variables. Server.URLEncode 
those bad boys.

Also, someone made a comment on this one a few days ago... pasted below 
for you



From Robert Chartier:
i apologize for the two posts, but oulook is a pain...real pain
sometimes....



well, the cookie stuff looks ok

i know that netscape sometimes will break on the response.redirect

comment out your response.redirect and see if it breaks.

i bet you that you cant send the cookie headers out, and then 
redirect...


remember that all a response.redirect does is send out fresh headers 
that
basically tell the browser has MOVED to URL.

the url is the param you pass in.

so basically, your sending out a GOOD header instructing the client app,
that this page is good, and here is some cookies for you to munch 
on...then
right after that your sending out  BAD page, go here instead.

IE never has a problem with this, but netscape breaks....


also, try to buffer up your response.


response.buffer=3Dtrue at the top of the page.
'=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Regards,
Brandon
  ----- Original Message -----
  From: George Lanitis
  To: Code Clinic
  Sent: Wednesday, March 29, 2000 8:05 PM
  Subject: [proasp_codeclinic] problems with netscape vs ie


  i posted a problem last week with ie and netscape with cookies.

  the problem was a mime error
  HTTP Error 405

  405 Method Not Allowed

  The method specified in the Request Line is not allowed for the 
resource identified by the request. Please ensure that you have
  the proper MIME type set up for the resource you are requesting.

  Please contact the server's administrator if this problem persists.

  can it be with the call to the next page causing the error and not the 
writing of the cookie itself?  I noticed in the tooltip of the clickable 
image that the a of the word amount becomes underlined?? can this be 
screwing up the request string??
  ie seems to forgive the problem and netscape not.
  
  pls comment
  

  addToCart.asp?nameCode=3D" & vFrag(2,i) &   "&size=3D" & vFrag(4,i) & 
"&amount=3D" & vFrag(7,i) & """

  thks
  george


  Return to Index