calendar Header Error

Results 1 to 3 of 3

Thread: calendar Header Error

  1. #1
    ewan Guest

    Default calendar Header Error

    I can&#039;t get the week 2 calendar to work, although I&#039;ve checked for typos.<BR>I get the following message:<BR>Response object error &#039;ASP 0156 : 80004005&#039; <BR>Header Error <BR>/Calendar.asp, line 59 <BR>The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content. <BR>Line 59 (in my code) is one of these<BR>&#039;write date to cookie for next time and set it to expire in 30 days<BR>Response.Cookies("CalendarDate")=dbCurrent Date<BR>Response.Cookies("CalendarDate").Expires=N ow()+30<BR>What does the error mean? What should I do?<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: calendar Header Error

    Put:<BR><BR>Response.Buffer = True<BR><BR>at the top of the ASP page.<BR><BR>I.e.,<BR><BR>&#060;%@ LANGUAGE="VBSCRIPT" %&#062;<BR>&#060;%<BR> Option Explicit<BR><BR> &#039;*** PUT IT HERE ***<BR> Response.Buffer = True<BR>...<BR><BR>%&#062;<BR><BR><BR>Does that do the trick for you?

  3. #3
    ewan Guest

    Default RE: calendar Header Error

    Yes, that worked, thanks.

Posting Permissions

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