Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with response.redirect

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
US
I am working on PWS and using response.redirect on one of my asp page. On one of the link, I want the user to be able to edit a numeric field and be able to see the re-calculated total when they hit a "recalculate button". When I use response.redirect to go back to the edit page and pass the edited data, I got this error message:

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content

I'll greatly appreciate any help.

[sig][/sig]
 
Response.Buffer = True
that'll allow you to redirect since nothing is sent to the client until you Response.Flush, and use Response.End to stop sending to the client all together. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top