views:

141

answers:

2

I want to add a comment feature in my ASP.NET website that is similar in stackoverflow.com. Here the entire page is not getting posted, instead ajax is being used i hope.How does the value entered inside the textarea is passed to the server page ? as querystring for an ajax get/post call ? .I believe its not a good idea to do so when the content of the text area (text ) is large in size . How can i pass special characters ? Whats is the best method to do this ? Please advice

+1  A: 

IE has a size limitation for get requests. This document is a good guide for choosing when to use get or post.

Andy Gaskell
+2  A: 

Your instincts are correct. You should only use QueryString for small things like ID's. Use GET and POST for passing larger amounts of data.

Robert Harvey