csierra
Posts: 123
|
Posted: 07/22/2009, 11:51 PM |
|
I am trying to add some headers using plain script, no isapi, If i do
<% Public sAction
Response.Expires = now() - 10000
Response.Expires = 0
Response.AddHeader "pragma","no-cache"
Response.CacheControl = "no-cache"
%>
In a plain asp page, it works fine; however codecharge template processing tech stills being a mistery to me (steps as per how it does, what it does first, then, after and finally) so I just can´t add this to the asp code page of a CCS generated plain page, it is causing errors and this is a must to avoid crappy IIS to catch includables...
Thnaks for sharing
_________________
Yes! I Can!!! |
|
|
Oper
Posts: 1195
|
Posted: 08/05/2009, 8:59 AM |
|
Do you want this for entery appliaction
or just by specific Pages?
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
csierra
Posts: 123
|
Posted: 08/05/2009, 9:36 AM |
|
Just for specific pages.Í´ve tried many times, many different ways, no joy. If I just make a plain .asp file works just fine, but not with templated pages...
_________________
Yes! I Can!!! |
|
|
Oper
Posts: 1195
|
Posted: 08/05/2009, 4:01 PM |
|
Remember dont use the Grey part.
<%@ CodePage=28591 %>
<%
'Include Common Files @1-93D1ADC6
%>
<!-- #INCLUDE FILE=".\Common.asp"-->
<!-- #INCLUDE FILE=".\Cache.asp" -->
<!-- #INCLUDE FILE=".\Template.asp" -->
<!-- #INCLUDE FILE=".\Sorter.asp" -->
<!-- #INCLUDE FILE=".\Navigator.asp" -->
<!-- #INCLUDE FILE=".\Services.asp" -->
<%
'End Include Common Files
Response.CacheControl="public"
Response.AddHeader "Pragma", "public"
response.Buffer=false
response.expires=-1
'Initialize Page @1-79D236E1
' Variables
Dim PathToRoot, ScriptPath, TemplateFilePath
Dim FileName
Dim Redirect
Dim IsService
Dim Tpl, HTMLTemplate
Dim TemplateFileName
Dim ComponentName
Dim PathToCurrentPage
Dim Attributes
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
|