Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Refresh problem with RTE_popup_image.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedRefresh problem with RTE_popup_image.asp

 Post Reply Post Reply
Author
cschulz View Drop Down
Newbie
Newbie


Joined: 17 March 2006
Location: Netherlands
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote cschulz Quote  Post ReplyReply Direct Link To This Post Topic: Refresh problem with RTE_popup_image.asp
    Posted: 17 March 2006 at 8:51pm
When uploading files from RTE I first have to right click REFRESH on the RTE_popup_image.asp (image upload popup). Before I see the updated files/dir overview ...
 
It probably has something to do with server side cache settings. But I have no control over that Cry
 
So now I'm looking for a place to insert something like ...
 
<%
Response.Expires = 60
Response.Expiresabsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
%>
but top of RTE_popup_image.asp does not work ... any help is much appreciated !!!!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 18 March 2006 at 10:07am
The browser view is done using an Iframe and the file 'RTE_file_browser.asp'
Back to Top
cschulz View Drop Down
Newbie
Newbie


Joined: 17 March 2006
Location: Netherlands
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote cschulz Quote  Post ReplyReply Direct Link To This Post Posted: 22 March 2006 at 11:16pm
that worked ... thanks !

top of the file RTE_file_browser.asp now looks like this

<%
Response.Expires = 60
Response.Expiresabsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
%>
<% Option Explicit %>
<!--#include file="RTE_configuration/RTE_setup.asp" -->
<!--#include file="RTE_configuration/RTE_skin_file.asp" -->
<!--#include file="language_files/RTE_language_file_inc.asp" -->
<%
'****************************************************************************************
'**  Copyright Notice   
'**

..............


'**  Web Wiz Guide, PO Box 4982, Bournemouth, BH8 8XP, United Kingdom
'**
'****************************************************************************************


'Response.AddHeader "pragma","cache"
'Response.AddHeader "cache-control","public"
'Response.CacheControl = "Public"

'Dim variables

etc !!


regards
carl

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.