Response.Expires

E

Elie Grouchko

Hi

I am using the following 2 lines of script at the begining of every ASP page
on my site.

Response.Expires = -1
Response.ExpiresAbsolute = Now


Should I also use them in the ASP files that I am including using the
<!--#includes file = "file.asp"--> directive ?

Thanks

Elie Grouchko
 
P

Paxton

Elie said:
Hi

I am using the following 2 lines of script at the begining of every ASP page
on my site.

Response.Expires = -1
Response.ExpiresAbsolute = Now


Should I also use them in the ASP files that I am including using the
<!--#includes file = "file.asp"--> directive ?

Thanks

Elie Grouchko

Entirely up to you. The only good reason for doing so is if you are
likely to change the values at any time. Then you would only need to
change it in the include file rather than on every page.

/P.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top