Wrox Programmer Forums
|
ASP E-commerce As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP E-commerce section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 21st, 2004, 10:44 AM
Authorized User
 
Join Date: Oct 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default Response.AddHeader(name, value)

Hi All,

This is a fundemental question but I could not find the answeres from any book, please help. Please explain to me clearly what does Response.addHeader(name, value) can do?

EX:
Response.AddHeader "Pragma", "no-cache" %>
What does "Pragma" means? what does that statement do to your page?

Response.AddHeader "CustomHeader", "CustomValue")
What does this statement do.

Thanks in advance

John



 
Old November 25th, 2004, 11:37 PM
Authorized User
 
Join Date: Aug 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

' This header tells proxy servers using HTTP/1.0 not to
'cache this request.
<% Response.AddHeader "Pragma", "no-cache" %>
<% Response.Flush %>
<% Response.Write("Pragma is set to no-cache") %>

Check this link:
http://msdn.microsoft.com/library/de...om_resomah.asp





Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.AddHeader Problem kwilliams Classic ASP Professional 6 November 13th, 2007 06:26 PM
response.redirect crmpicco Classic ASP Basics 3 February 9th, 2005 01:50 AM
i need a response to my q..:-) noor ASP.NET 1.0 and 1.1 Basics 1 January 14th, 2005 05:10 PM
Page getting freezed after Response.AddHeader spacy ASP.NET 1.x and 2.0 Application Design 0 October 6th, 2004 06:51 AM
Response.Flush jeffm_22 Classic ASP Professional 1 October 20th, 2003 08:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.