Results 1 to 2 of 2

Thread: response.contenttype

  1. #1
    Join Date
    Dec 1969

    Default response.contenttype

    In my table i have a field which contains html tag. for example <BR>&#060;img src=sample.gif&#062; if i fetch the value and display the content in a browser i&#039;m not getting the image instead i&#039;m getting the tag(&#060;img src=sample.gif&#062;). in first line i gave response.contenttype = text/html . but still i&#039;m getting the same problem. i can&#039;t give image/gif b&#039;coz in that field i have image or text <BR><BR>Regards<BR>malar

  2. #2
    Join Date
    Dec 1969

    Default RE: response.contenttype

    sounds to me like you&#039;ve used Server.HTMLEncode when you shouldn&#039;t have, but since you supplied a very vague account of the problem, I can&#039;t be sure. and this has JACK to do with the content-type header.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts