Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Always use Server.HTMLEncode?

Reply
Thread Tools

Always use Server.HTMLEncode?

 
 
Hraklhs
Guest
Posts: n/a
 
      01-07-2004
Is it useful to ALWAYS use Server.HTMLEncode when writing data read from a db? Ex.
Response.Write (Server.HTMLEncode(var)) instead of Response.Write var
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Always use this program to open these files" is grayed out. SKIP Computer Support 3 06-15-2007 06:21 AM
Do we always have to use the HtmlTextWriter to create the control? msnews.microsoft.com ASP .Net 2 04-28-2005 05:44 PM
Forcing a .net 1.1 web application to always use the 1.1 framework =?Utf-8?B?YXBwZGV2dGVjaA==?= ASP .Net 10 03-15-2005 03:06 AM
'exit function'...always use it when returning a value? darrel ASP .Net 3 08-06-2004 07:02 PM
Trying to create a CSS box that is always is always the width of an image placed inside it (and no wider) Deryck HTML 4 06-22-2004 08:25 PM



Advertisments