Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: HTTP Headers Error


Message #1 by "Jonathan Marshall" <jdmarsh2g@h...> on Mon, 13 May 2002 22:29:20 +0000
<html><div style='background-color:'><DIV>The HTTP headers are already written to the
client browser. Any HTTP Header modifications must be made before writing page content. &lt;&lt;&lt; I have receieved
this error when trying to redirect a page and also from trying to set a cookie. What Iam I missing </DIV>
<DIV>if someone can help. <BR>jdm</DIV></div><br clear=all><hr>Chat with friends online, try MSN
Messenger: <a href='http://g.msn.com/1HM105401/43'>Click Here</a><br></html>
Message #2 by "Chris Thompson" <cthompson@n...> on Mon, 13 May 2002 17:03:26 -0600
This is a multi-part message in MIME format.

------_=_NextPart_001_01C1FAD2.63E49124
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Put a



Response.buffer =3D 0



At the beginning of your ASP page



Thanks,



Chris Thompson





-----Original Message-----
From: Jonathan Marshall [mailto:jdmarsh2g@h...]
Sent: Monday, May 13, 2002 4:29 PM
To: ASP Web HowTo
Subject: [asp_web_howto] HTTP Headers Error



The HTTP headers are already written to the client browser. Any HTTP
Header modifications must be made before writing page content. <<< I
have receieved this error when trying to redirect a page and also from
trying to set a cookie. What Iam I missing

if someone can help.
jdm




  _____ 

Chat with friends online, try MSN Messenger: Click Here
<http://g.msn.com/1HM105401/43>
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20 ---


Message #3 by "Jonathan Marshall" <jdmarsh2g@h...> on Mon, 13 May 2002 23:09:43 +0000
<html><div style='background-color:'><DIV>
<P>thanks Chris but now i get this error</P>
<P>Response object <FONT face=Arial size=2>error 'ASP 0159 : 80004005'</FONT> 
<P><FONT face=Arial size=2>Buffering Off</FONT> 
<P><FONT face=Arial size=2>C:\INETPUB\WWWROOT\../wwwroot/scripts/webutils.vbs</FONT><FONT face=Arial
size=2>, line 25</FONT> 
<P><FONT face=Arial size=2>Buffering must be on. </FONT></P>
<P><BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: "Chris Thompson" <CTHOMPSON@N...>
<DIV></DIV>&gt;Reply-To: "ASP Web HowTo" <ASP_WEB_HOWTO@P...>
<DIV></DIV>&gt;To: "ASP Web HowTo" <ASP_WEB_HOWTO@P...>
<DIV></DIV>&gt;Subject: [asp_web_howto] RE: HTTP Headers Error 
<DIV></DIV>&gt;Date: Mon, 13 May 2002 17:03:26 -0600 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Put a 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Response.buffer = 0 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;At the beginning of your ASP page 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Thanks, 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Chris Thompson 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-----Original Message----- 
<DIV></DIV>&gt;From: Jonathan Marshall [mailto:jdmarsh2g@h...] 
<DIV></DIV>&gt;Sent: Monday, May 13, 2002 4:29 PM 
<DIV></DIV>&gt;To: ASP Web HowTo 
<DIV></DIV>&gt;Subject: [asp_web_howto] HTTP Headers Error 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;The HTTP headers are already written to the client browser. Any HTTP 
<DIV></DIV>&gt;Header modifications must be made before writing page content. &lt;&lt;&lt; I 
<DIV></DIV>&gt;have receieved this error when trying to redirect a page and also from 
<DIV></DIV>&gt;trying to set a cookie. What Iam I missing 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;if someone can help. 
<DIV></DIV>&gt;jdm 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; _____ 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Chat with friends online, try MSN Messenger: Click Here 
<DIV></DIV>&gt;<HTTP: 43 1HM105401 g.msn.com> 
<DIV></DIV>&gt;--- Improve your web design skills with these new books from Glasshaus. 
<DIV></DIV>&gt;Usable Web Menus 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 Constructing Accessible Web Sites 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 Practical JavaScript for the Usable Web 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 --- 
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Improve your web design skills with these new books from Glasshaus. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Usable Web Menus 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 
<DIV></DIV>&gt;Constructing Accessible Web Sites 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 
<DIV></DIV>&gt;Practical JavaScript for the Usable Web 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV></div><br clear=all><hr>Join the world?s largest e-mail service with MSN Hotmail. <a
href='http://g.msn.com/1HM105401/47'>Click Here</a><br></html>
Message #4 by "Jonathan Marshall" <jdmarsh2g@h...> on Mon, 13 May 2002 23:22:19 +0000
<html><div style='background-color:'><DIV>
<P>Here is the code I don't tihnk the headers are being processed already ????/<BR>&lt;!-- #include
file="../wwwroot/scripts/webutils.vbs" --&gt;<BR>&lt;%
Response.Buffer=true%&gt;<BR>&lt;%<BR>&nbsp;dim oRS<BR>&nbsp;dim sql<BR>&nbsp;dim
password<BR>&nbsp;dim username<BR>&nbsp;dim PeopleID<BR>&nbsp;dim number</P>
<P><BR>&nbsp;If Request.Cookies("PeopleIDNumber") = "" THEN<BR>&nbsp;&nbsp;&nbsp;response.write
"There is nothing available&lt;br&gt;"<BR>&nbsp;Else<BR>&nbsp;&nbsp;&nbsp;response.redirect
"welcome.asp"<BR>&nbsp;&nbsp;&nbsp;response.write "There is a cookie
available&lt;br&gt;"<BR>&nbsp;End if</P>
<P>&nbsp;'varPeopleID = Request.Form("PeopleID")</P>
<P>&nbsp;'next line for testing<BR>&nbsp;'Response.Write varpeopleID</P>
<P>&nbsp;'Response.Cookies("PeopleIDNumber")= varPeopleID<BR>&nbsp;'Response.Cookies("PeopleIDNumber").Expires =
Date + 30<BR>&nbsp;'Response.Cookies("PeopleIDNumber").Expires = Date - 1</P>
<P>&nbsp;</P>
<P><BR>&nbsp;'on error resume next</P>
<P>'########################################################################################<BR>&nbsp;PeopleID =
Cstr(Request.QueryString("PeopleID"))<BR>&nbsp;response.write "PeopleID:&lt;font color=blue&gt; " &amp;
PeopleID &amp; "&lt;/font&gt;&lt;br&gt;"</P>
<P>&nbsp;Password = Cstr(Lcase(Request.QueryString("Password")))<BR>&nbsp;response.write "Password:&lt;font
color=blue&gt; " &amp; Password &amp; "&lt;/font&gt;&lt;br&gt;"</P>
<P>&nbsp;UserName = Cstr(Lcase(Request.QueryString("UserName")))<BR>&nbsp;response.write "UserName:&lt;font
color=blue&gt;" &amp; UserName &amp;
"&lt;/font&gt;&lt;br&gt;"<BR>'################################################################################
########</P>
<P>&nbsp;set oRS = Server.CreateObject("ADODB.Recordset")<BR>&nbsp;sql = ("SELECT UserName, Password, PeopleID,
Email From Users WHERE PeopleID = '" &amp; PeopleID &amp; "'")<BR>&nbsp;oRS.open sql,"DSN=application"</P>
<P>&nbsp;JSAlert sql</P>
<P><BR>&nbsp;If UserName &lt;&gt; oRS("UserName") AND Password &lt;&gt; oRS("Password")
THEN<BR>&nbsp;&nbsp;response.write "&lt;font color=red&gt;Incorrect Login Please Try
Again&lt;br&gt;&lt;/font&gt;"<BR>&nbsp;Else<BR>&nbsp;&nbsp;response.write "&lt;font
color=red&gt;Thank you for logging
in&lt;br&gt;&lt;/font&gt;"<BR>&nbsp;&nbsp;Response.Cookies("PeopleIDNumber") =
PeopleID<BR>&nbsp;End If</P>
<P><BR>&nbsp;response.write "UserName:&lt;font color=blue&gt; " &amp; oRS("UserName") &amp;
"&lt;/font&gt;&lt;br&gt;"<BR>&nbsp;response.write "Password:&lt;font color=blue&gt; " &amp;
oRS("Password") &amp; "&lt;/font&gt;&lt;br&gt;"<BR>&nbsp;response.write "E-mail:&lt;font
color=blue&gt; " &amp; oRS("Email") &amp; "&lt;/font&gt;&lt;br&gt;"<BR>&nbsp;response.write
"ID #:&lt;font color=blue&gt; " &amp; oRS("PeopleID") &amp; "&lt;/font&gt;&lt;br&gt;"</P>
<P>&nbsp;oRS.close<BR>set oRS = nothing</P>
<P>%&gt;</P>
<P>&lt;HTML&gt;<BR>&lt;TITLE&gt;ID&lt;/TITLE&gt;<BR>&lt;HEAD&gt;&lt;script
language="javascript"&gt;<BR>function
ID()<BR>{<BR>document.ID.PeopleID.focus()<BR>}<BR>&lt;/script&gt;<BR>&lt;/HEAD&gt;<
/P>
<P><BR>&lt;BODY onload="ID()"&gt;</P>
<P><BR>&lt;H1&gt;ID Insert Page&lt;/H1&gt;</P>
<P>&lt;FORM action="id.asp" method=get name="ID"&gt;</P>
<P>&nbsp;</P>
<P>&lt;!---- Start for People ID
Field----------------------------------------------------------------------&gt;<BR>Please select your name to set
ID:&lt;br&gt;&lt;select NAME="PeopleID"&gt;<BR>&lt;%<BR>&nbsp;set oRS =
Server.CreateObject("ADODB.Recordset")<BR>&nbsp;sql = ("SELECT DISTINCT(Full_name), PeopleID FROM
Users")<BR>&nbsp;oRS.open sql,"DSN=application"<BR>%&gt;</P>
<P>&nbsp;&nbsp;&nbsp;&lt;option value=""&gt;&lt;/option&gt;</P>
<P>&lt;%<BR>&nbsp;&nbsp;&nbsp;'Loop through the recordset adding each club to the combo
box<BR>&nbsp;&nbsp;&nbsp;oRS.MoveFirst<BR>&nbsp;&nbsp;&nbsp;Do While Not
oRS.EOF<BR>%&gt;</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&lt;option
value="&lt;%=oRS("PeopleID")%&gt;"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;%=oRS("Full_na
me")%&gt;&lt;/option&gt;<BR>&lt;%<BR>&nbsp;&nbsp;&nbsp;&nbsp;oRS.MoveNext<BR>&
nbsp;&nbsp;&nbsp;Loop<BR>&nbsp;&nbsp;&nbsp;'Close and dereference database
objects<BR>&nbsp;&nbsp;&nbsp;oRS.Close<BR>&nbsp;&nbsp;&nbsp;Set oRS =
Nothing<BR>%&gt;<BR>&lt;/select&gt;&lt;br&gt;&lt;br&gt;</P>
<P>&lt;!----End for People ID
Field-------------------------------------------------------------------------&gt;</P>
<P>&nbsp;</P>
<P>&nbsp;&lt;b&gt;Please Enter UserName &amp;
Password&lt;/b&gt;&lt;br&gt;<BR>&nbsp;&lt;b&gt;UserName:&lt;/b&gt;&amp;nbsp;&lt;in
put type=text name=UserName
size=20&gt;&lt;br&gt;<BR>&nbsp;&lt;b&gt;Password:&lt;/b&gt;&amp;nbsp;&amp;nbsp;&am
p;nbsp;&lt;input type=password name=Password size=20&gt;&lt;br&gt;<BR>&nbsp;&lt;input type=button
value="Submit" name="IDset"&gt;<BR>&nbsp;&lt;/FORM&gt;</P>
<P>&nbsp;</P>
<P>&lt;script language=vbscript&gt;</P>
<P>Sub IDset_OnClick()<BR>'Verify all fields have been entered</P>
<P>&nbsp;If ID.PeopleID.value = "" Then<BR>&nbsp;Alert "Please Select Your Name From the drop down
box"<BR>&nbsp;ID.PeopleID.focus<BR>&nbsp;Exit Sub</P>
<P><BR>ElseIf ID.UserName.value = "" Then<BR>&nbsp;Alert "Please Enter
UserName"<BR>&nbsp;ID.UserName.focus<BR>&nbsp;Exit Sub</P>
<P><BR>ElseIf ID.Password.value = "" Then<BR>&nbsp;Alert "Please Enter
Password"<BR>&nbsp;ID.Password.focus<BR>&nbsp;Exit Sub</P>
<P>End If</P>
<P>Call ID.submit()</P>
<P>End
Sub<BR>&lt;/script&gt;<BR>&lt;/BODY&gt;<BR>&lt;/HTML&gt;<BR><BR><BR><
/P></DIV>
<DIV></DIV>
<DIV></DIV>&gt;From: "Chris Thompson" <CTHOMPSON@N...>
<DIV></DIV>&gt;Reply-To: "ASP Web HowTo" <ASP_WEB_HOWTO@P...>
<DIV></DIV>&gt;To: "ASP Web HowTo" <ASP_WEB_HOWTO@P...>
<DIV></DIV>&gt;Subject: [asp_web_howto] RE: HTTP Headers Error 
<DIV></DIV>&gt;Date: Mon, 13 May 2002 17:03:26 -0600 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Put a 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Response.buffer = 0 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;At the beginning of your ASP page 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Thanks, 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Chris Thompson 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;-----Original Message----- 
<DIV></DIV>&gt;From: Jonathan Marshall [mailto:jdmarsh2g@h...] 
<DIV></DIV>&gt;Sent: Monday, May 13, 2002 4:29 PM 
<DIV></DIV>&gt;To: ASP Web HowTo 
<DIV></DIV>&gt;Subject: [asp_web_howto] HTTP Headers Error 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;The HTTP headers are already written to the client browser. Any HTTP 
<DIV></DIV>&gt;Header modifications must be made before writing page content. &lt;&lt;&lt; I 
<DIV></DIV>&gt;have receieved this error when trying to redirect a page and also from 
<DIV></DIV>&gt;trying to set a cookie. What Iam I missing 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;if someone can help. 
<DIV></DIV>&gt;jdm 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; _____ 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Chat with friends online, try MSN Messenger: Click Here 
<DIV></DIV>&gt;<HTTP: 43 1HM105401 g.msn.com> 
<DIV></DIV>&gt;--- Improve your web design skills with these new books from Glasshaus. 
<DIV></DIV>&gt;Usable Web Menus 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 Constructing Accessible Web Sites 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 Practical JavaScript for the Usable Web 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 --- 
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Improve your web design skills with these new books from Glasshaus. 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Usable Web Menus 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 
<DIV></DIV>&gt;Constructing Accessible Web Sites 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 
<DIV></DIV>&gt;Practical JavaScript for the Usable Web 
<DIV></DIV>&gt;http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme 
<DIV></DIV>&gt;r-20 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;--- 
<DIV></DIV>&gt;
<DIV></DIV>&gt;
<DIV></DIV></div><br clear=all><hr>Chat with friends online, try MSN Messenger: <a
href='http://g.msn.com/1HM105401/43'>Click Here</a><br></html>
Message #5 by "Ken Schaefer" <ken@a...> on Tue, 14 May 2002 13:48:30 +1000
www.adopenstatic.com/faq/headererror.asp

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Jonathan Marshall" <jdmarsh2g@h...>
Subject: [asp_web_howto] HTTP Headers Error


: The HTTP headers are already written to the client browser. Any HTTP
Header
: modifications must be made before writing page content. <<< I have
receieved this
: error when trying to redirect a page and also from trying to set a cookie.
: What Iam I missing
: if someone can help.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Message #6 by "Chris Thompson" <cthompson@n...> on Tue, 14 May 2002 08:25:09 -0600
This is a multi-part message in MIME format.

------_=_NextPart_001_01C1FB53.2698237C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Maybe try to do it before the include.



Chris



-----Original Message-----
From: Jonathan Marshall [mailto:jdmarsh2g@h...]
Sent: Monday, May 13, 2002 5:10 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: HTTP Headers Error



thanks Chris but now i get this error

Response object error 'ASP 0159 : 80004005'

Buffering Off

C:\INETPUB\WWWROOT\../wwwroot/scripts/webutils.vbs, line 25

Buffering must be on.



>From: "Chris Thompson"

>Reply-To: "ASP Web HowTo"

>To: "ASP Web HowTo"

>Subject: [asp_web_howto] RE: HTTP Headers Error

>Date: Mon, 13 May 2002 17:03:26 -0600

>

>Put a

>

>

>

>Response.buffer =3D 0

>

>

>

>At the beginning of your ASP page

>

>

>

>Thanks,

>

>

>

>Chris Thompson

>

>

>

>

>

>-----Original Message-----

>From: Jonathan Marshall [mailto:jdmarsh2g@h...]

>Sent: Monday, May 13, 2002 4:29 PM

>To: ASP Web HowTo

>Subject: [asp_web_howto] HTTP Headers Error

>

>

>

>The HTTP headers are already written to the client browser. Any HTTP

>Header modifications must be made before writing page content. <<< I

>have receieved this error when trying to redirect a page and also from

>trying to set a cookie. What Iam I missing

>

>if someone can help.

>jdm

>

>

>

>

> _____

>

>Chat with friends online, try MSN Messenger: Click Here

>

>--- Improve your web design skills with these new books from Glasshaus.


>Usable Web Menus

>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
m
e

>r-20 Constructing Accessible Web Sites

>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
m
e

>r-20 Practical JavaScript for the Usable Web

>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
m
e

>r-20 ---




>

>

>

>

>---

>

>Improve your web design skills with these new books from Glasshaus.

>

>Usable Web Menus

>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
m
e

>r-20

>Constructing Accessible Web Sites

>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
m
e

>r-20

>Practical JavaScript for the Usable Web

>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
m
e

>r-20

>

>







  _____ 

Join the world's largest e-mail service with MSN Hotmail. Click Here
<http://g.msn.com/1HM105401/47>
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20 ---


Message #7 by "Scott Dempsey" <scottd@c...> on Tue, 14 May 2002 10:01:58 -0700
This is a multi-part message in MIME format.

------=_NextPart_000_0010_01C1FB2E.665FB420
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

A couple of thoughts, Jon -
 
First - You can use the response.flush method to immediately force the
server to send the buffer information (which may effectively clear the
buffer for you)
 
Alternatively, and may be a little better, you can use the
response.clear method to simply get rid of the current buffer contents.
 
Both situations require the response.buffer property to be set to 'true'
 
 - Scott
 
-----Original Message-----
From: Chris Thompson [mailto:cthompson@n...] 
Sent: Tuesday, May 14, 2002 7:25 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: HTTP Headers Error
 
Maybe try to do it before the include.
 
Chris
 
-----Original Message-----
From: Jonathan Marshall [mailto:jdmarsh2g@h...] 
Sent: Monday, May 13, 2002 5:10 PM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: HTTP Headers Error
 
thanks Chris but now i get this error
Response object error 'ASP 0159 : 80004005' 
Buffering Off 
C:\INETPUB\WWWROOT\../wwwroot/scripts/webutils.vbs, line 25 
Buffering must be on. 
 
>From: "Chris Thompson" 
>Reply-To: "ASP Web HowTo" 
>To: "ASP Web HowTo" 
>Subject: [asp_web_howto] RE: HTTP Headers Error 
>Date: Mon, 13 May 2002 17:03:26 -0600 
> 
>Put a 
> 
> 
> 
>Response.buffer = 0 
> 
> 
> 
>At the beginning of your ASP page 
> 
> 
> 
>Thanks, 
> 
> 
> 
>Chris Thompson 
> 
> 
> 
> 
> 
>-----Original Message----- 
>From: Jonathan Marshall [mailto:jdmarsh2g@h...] 
>Sent: Monday, May 13, 2002 4:29 PM 
>To: ASP Web HowTo 
>Subject: [asp_web_howto] HTTP Headers Error 
> 
> 
> 
>The HTTP headers are already written to the client browser. Any HTTP 
>Header modifications must be made before writing page content. <<< I 
>have receieved this error when trying to redirect a page and also from 
>trying to set a cookie. What Iam I missing 
> 
>if someone can help. 
>jdm 
> 
> 
> 
> 
> _____ 
> 
>Chat with friends online, try MSN Messenger: Click Here 
> 
>--- Improve your web design skills with these new books from Glasshaus.

>Usable Web Menus 
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramm
e 
>r-20 Constructing Accessible Web Sites 
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramm
e 
>r-20 Practical JavaScript for the Usable Web 
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramm
e 
>r-20 --- 
> 
> 
> 
> 
>--- 
> 
>Improve your web design skills with these new books from Glasshaus. 
> 
>Usable Web Menus 
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramm
e 
>r-20 
>Constructing Accessible Web Sites 
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramm
e 
>r-20 
>Practical JavaScript for the Usable Web 
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramm
e 
>r-20 
> 
> 
>--- 


  _____  

Join the world's largest e-mail service with MSN Hotmail. Click Here
<http://g.msn.com/1HM105401/47> 
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 --- 
--- Improve your web design skills with these new books from Glasshaus.
Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20 Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20 Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20 --- 




  Return to Index