|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Server.URLEncode not working.
can someone tell me why this link will not come up in a browser. Go to this page, http://tmhdesign.com/tasty/tuscany-italian-recipes.asp?category=3 At the bottom of the page, there will be a link that reads "Next Dessert Recipe" Click it. You will see a 404 error with information about IIS configuration? The code seems intact, but it doesn't seem to be working. I am attempting to get this page to validate, but using a response.write to put out a dynamic url is causing grief.
If NOT rs.EOF Then temp = "tuscany-italian-recipes.asp?category=" & request("category") & "&recipe=" & rs("id") Response.Write "<p style='text-align:center;margin:0 0 15px 0;padding:0;'><a href=http://www.tmhdesign.com/tasty/'" & server.URLEncode(temp) & "' >Next " & category & " Recipe</a></p>" End IF
__________________
Today the world, tomorrow the universe... |
|
#2
|
|||
|
|||
|
Try
Response.Write "<p style='text-align:center;margin:0 0 15px 0;padding:0;'><a href=""http://www.tmhdesign.com/tasty/" & server.URLEncode(temp) & """ >Next " & category & " Recipe</a></p>"
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Thanks Doug, but still no dice for some damn reason. Here is the href value as put out by your code, followed by the same url I took and replaced with the ?,=,& characters, One works, one doesnt.
http://www.tmhdesign.com/tasty/tuscany%2Ditalian%2Drecipes%2Easp%3Fcategory%3D2%26recipe%3D4 http://www.tmhdesign.com/tasty/tuscany-italian-recipes.asp?category=2&recipe=4 |
|
#4
|
|||
|
|||
|
Doug, possible answer
Quote:
Doug, It seems it is an IIS issue. I am in Budapest and the server is in Iowa. When ever I was trying to pull up a page using the URLEcode, I am being told by my server admin that the firewall is blocking my IP. At the moment, he is trying to figure out how to prevent this... I thought I was going crazy. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Server.URLEncode not working. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|