weve isolate d the problem to an interaction with certain firewall, proxies,
etc
usrs are able to visit this
http://test.mls.ca with no problem, but cant
accessing the live site
http://www.mls.ca
the differerence between the two is that the live site is behind a SQUID
proxy.
users have reported problems using watchguard, winproxy, freedom firewall,
etc proxies/firewalls products.
what we still dont know is what these proxies dont like about the url from
our site? we have no whitespace, no underscores in domain, its
encoded....what is it?!?
also, this is where users get stuck (get the error from proxy); anything
wrong with this code; is there any issues isth postback, redirects,
cookies..interaction between them. is this correct
Response.Redirect("~/PropertyResults.aspx" & Request.Url.Query, True) or
should we be using the full path
Response.Redirect("http://www.mls.ca/PropertyResults.aspx" &
Request.Url.Query, True) ? pls help
Private Sub btnAccept_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles lnkAccept.Click
Dim c As New HttpCookie("LegalDisclaimer")
c.Expires = DateTime.Now.AddMonths(1)
c.Value = "1"
Response.Cookies.Add(c)
Response.Redirect("~/PropertyResults.aspx" & Request.Url.Query, True)
End Sub
thanks
stephane
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:ZQ*************@cpmsftngxa07.phx.gbl...
Hi Stephane,
Thanks for posting in the community!
From your description, you are somewhat confused on the below malformed
url:
http://www.mls.ca/PropertyDetails.as...d0%26Page%3d1%
26vs%3d1%26rlt%3d%26cp%3d%26pt%3d1%26mp%3d0-0-0%26mrt%3d-1-0-0%26Beds%3d0-0%
26Baths%3d0-0%26f%3d%26ft%3dall%26o%3dA%26of%3d1%26ps%3d10%26a id%3d3490%26Ma pURL%3d%253fAreaID%253d3476&PropertyID=2127525
It didn't work for you?
If there is anything I misunderstood, please feel free to let me know.
I've tried this link and it was able to work on my side. Have you tried it
in any other browser or other different machines?
In addition, as for the malformed you mentioned, this is because some
certain particular characters must be encoded into different style so as
to display in the url, here is the description in MSDN:
-----------------
Special Characters in a URL
In queries executed at the URL, special characters are specified as %xx,
where xx is the hexadecimal value of the character. The following table
lists these special characters and describes their meanings. For more
information, see the RFC1738 specification at
http://www.faqs.org/rfcs/rfc1738.html.
-----------------
And here is the web link of the certain reference in MSDN:
#Special Characters
http://msdn.microsoft.com/library/en...asp?frame=true
also, here is some other tech references on the character encoding in url:
#URL Character Encoding Issues
http://www.freesoft.org/CIE/RFC/1738/4.htm
#HTML URL-encoding Reference
http://www.w3schools.com/html/html_ref_urlencode.asp
Hope they're helpful.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)