Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP 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 June 22nd, 2004, 09:40 PM
Authorized User
 
Join Date: Apr 2004
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copying and Pasting on a Text Area

Hi! I currently have a web page which has some text on top and then a text area with a limit of 1,400 characters. Upon submitting, the system will create an HTTP request. I am using the WinHTTPRequest object for this. If an error has occurred, the user's message will be emailed instead.

When the user will type in the message (even with carriage returns), there will be no problem. The Http request will be successfully loaded. But when the user copies and pastes the text above the text area, and the text exceeds 1,200 characters, I get this error:

Error sending to [email protected] : 501 5.5.4 Syntax error in parameters scanning

I achieve this by copying and pasting the text three or more times. But if the text is less than 1,200 characters (meaning I cut and paste once or twice only), there's no error. Can somebody tell me why this happens? I even tried removing special characters and used the Server.htmlencode command..but I still get the error.

I hope someone can help me on this.

Thanks!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Text area Wenggo VBScript 5 September 20th, 2008 07:21 PM
Submit text to main page from text area... user0b PHP How-To 2 June 30th, 2008 09:52 PM
Need help: Not able to Assign Value to a Text Area steveleong Classic ASP Professional 3 February 20th, 2008 09:15 PM
text in limited area alittlebitter32 Dreamweaver (all versions) 4 July 8th, 2004 10:28 AM





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