Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Chapter 16 Question 1 from Beginning JavaScript


Message #1 by "James Savage" <js@j...> on Sun, 16 Sep 2001 12:21:49
Buffering is on by default on iis 5, the opposite was true in iis 4. 

I am guessing though that you are on iis4 and this would be caused by
setting cookie values midway down the page as well as using the redirect
method. An easy fix is to enable buffering at the top of the page right
after the <%@ language%> tag put <%response.buffer=true%>

That should work. (I think:-)

Hth
daniel

-----Original Message-----
From: Michael Kent Simmons [mailto:msimmons@u...] 
Sent: Sunday, September 16, 2001 11:42 AM
To: javascript
Subject: [javascript] Re: Chapter 16 Question 1 from Beginning
JavaScript


James:

You obviously wish to control when the .asp page sends a response to the
browser. Have you set buffer=true? The default is *false* so you're
multiple response. object invocations will produce this error.

Also, you need to put attributes inside tags, not outside the closing
bracket.

hth,
m.

  Return to Index