Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 3rd, 2004, 03:38 PM
Registered User
 
Join Date: Feb 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default p404 URLEncode returning nothing

When I enter the text from chapter ten i get a bug.
This line of code returns nothing but i dont know why. Is this a bug in the book. The querystyring variable isnt mispelt and also when i print out the line from the anchor there is dsomething there. When i hard code the name it works.

Help please.


<a href="DisplaySource.asp?Filename=
<%= server.URLEncode(request.serverVariables("PATH_INF O")) %> ">
Click here to see the ASP source</a>

</body>
</html>

This link is n





Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning elements. Neal XSLT 2 May 13th, 2007 04:38 PM
Returning a value Neal XSLT 6 October 13th, 2006 11:41 AM
problem with urlencode rajiv_software Classic ASP Basics 0 April 25th, 2005 02:04 AM
ch10 p 404 server.URLEncode dont work :( Timmo BOOK: Beginning ASP 3.0 0 February 3rd, 2004 03:44 PM
chapter 10 p404 veerle BOOK: Beginning ASP 3.0 2 September 23rd, 2003 04:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.