Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 24th, 2006, 10:05 PM
Elie Grouchko
Guest
 
Posts: n/a
Default Response.Expires

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


  #2  
Old February 24th, 2006, 10:35 PM
Paxton
Guest
 
Posts: n/a
Default Re: Response.Expires


Elie Grouchko wrote:[color=blue]
> 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[/color]

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.

 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles