Print Page | Close Window

Refresh problem with RTE_popup_image.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=18761
Printed Date: 28 March 2026 at 11:23pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Refresh problem with RTE_popup_image.asp
Posted By: cschulz
Subject: Refresh problem with RTE_popup_image.asp
Date 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 !!!!



Replies:
Posted By: WebWiz-Bruce
Date Posted: 18 March 2006 at 10:07am
The browser view is done using an Iframe and the file 'RTE_file_browser.asp'


Posted By: cschulz
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net