Why use response write statements?

Results 1 to 4 of 4

Thread: Why use response write statements?

  1. #1
    Join Date
    Dec 1969
    Posts
    16

    Default Why use response write statements?

    Why use response write statements? I saw a piece of software and some scripts to convert the html in your asp pages to response write statements, is this faster or something whats wrong with <BR><BR>&#060;% ASP STUFF %&#062;<BR>HTML STUFF<BR>&#060;% ASP STUFF %&#062;<BR>HTML STUFF ??????????? Any thoughts ??

  2. #2
    Join Date
    Dec 1969
    Posts
    39

    Default RE: Why use response write statements?

    HEY <BR>it&#039s simply an example <BR>It is right any asp code(asp stuff) should be written within the &#060;% and %&#062;block<BR>html stuff should be written outside the block ok ?<BR>if at all u want to write the html code in the asp<BR>use Response.write("html code")<BR>ok<BR>Srinath

  3. #3
    Join Date
    Dec 1969
    Posts
    41

    Default RE: Why use response write statements?

    Listen to me<BR><BR>the more asp tags in an html file the more the asp.dll gets called at parse time.<BR><BR>So...it is faster to use response.write statements when closely incorporating ASP and HTML ....<BR>

  4. #4
    marielle Guest

    Default RE: Why use response write statements?

    This is not always true, when the asp stuff and the response.write HTML can be combined in one call to the dll, the page will actually become faster. Another advantage is that the code will be easier to read since you don&#039t have to switch from asp to html all the time.


Posting Permissions

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