-----Original Message-----
Hi
Howdy.
I'm trying to pass the value of a 'text box area' using
response.redirect, the .asp page and a list of parameters
in the form of page.asp?p1=request("fieldname")
All is OK with regular fields (text or numeric) but I get
only the first line of the Text Area. Is there a way to
pass all lines?
This is happening because the field value contains special
characters (i.e. line endings). The fix is to run your
form field value through the Server.UrlEncode method, as
in:
page.asp?p1=Server.UrlEncode(request("fieldname"))
This converts CR LF sequences, for example, to %0D%0A. The
Request object in the receiving ASP page will convert
these back to CR LF.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*