Simple Question

Results 1 to 2 of 2

Thread: Simple Question

  1. #1
    Join Date
    Dec 1969

    Default Simple Question

    This is probably pretty obvious but which hits the system harder, using Response.Write a bunch of times or once for an extremely long string? Also, if you close the ASP code off and write it in HTML and then open the ASP coding again which will be easier on the system the first or the latter?

  2. #2
    Join Date
    Dec 1969

    Default Depends on which version of IIS

    If you are using IIS4, my suggestion would be to turn response.buffer = true, then use multiple Response.Write statements when you hit a variable and avoid swithing in and out of your ASP delimiters.<BR><BR>For example:<BR>Response.Write "&#060;tr&#062;&#060;td&#062;"<BR>Response.Wri te ObjRecs("SomeField")<BR>Response.Write "&#060;/td&#062;&#060;/tr&#062;"<BR><BR>If on the other hand, if you are using IIS 5, The better approach IS to switch in and out of the delimiters.<BR><BR><BR>See this article:<BR>

Posting Permissions

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