Always use Server.HTMLEncode?

Discussion in 'ASP General' started by Hraklhs, Jan 7, 2004.

  1. Hraklhs

    Hraklhs Guest

    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
    Hraklhs, Jan 7, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Makarand
    Replies:
    0
    Views:
    982
    Makarand
    Nov 6, 2003
  2. diablo
    Replies:
    0
    Views:
    471
    diablo
    Jun 26, 2005
  3. Replies:
    7
    Views:
    584
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    Jul 4, 2007
  4. diablo

    why use htmlencode

    diablo, Jul 7, 2005, in forum: ASP General
    Replies:
    4
    Views:
    245
    diablo
    Jul 8, 2005
  5. MyndPhlyp
    Replies:
    3
    Views:
    486
    MyndPhlyp
    Oct 3, 2005
Loading...

Share This Page