Thank you. I just added
<% @LANGUAGE = "VBScript" %>
<% Response.Buffer = True %>
to the top and it works fine.
> At 10:22 AM 3/19/2001, you wrote:
> >I have to reset the cookies to zero and to expire in a day once the
> >procedure runs. But I keep getting this error message.
> >Response object error 'ASP 0156 : 80004005'
> >Header Error
> >/store/CompleteOrder.asp, line 452
> >The HTTP headers are already written to the client browser. Any HTTP
> >header modifications must be made before writing page content.
> >This is the code for the cookies:
> >response.cookies("CartId").Item = 0
> >response.Cookies("CartId").Expires = now + 1
> >response.cookies("ModelCount").Item =0
> >response.Cookies("ModelCount").Expires= now + 1
> >What am I doing wrong? Isn't this the way to reset cookies?
> >Thanks in advance for any help,
> Robert Chartier
> Author, AspFree.com