Add the following to your JSP and it will no longer be cached.
 
response.setHeader("Cache-Control", "max-age=0, must-revalidate");

Carson

____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews
Sent: Wednesday, July 05, 2006 1:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService (jsp, specifically) getting cached?

I've run into a situation where I want to re-issue a call to a jsp via
an HTTPService with the same set of parameters. (It's a query to a db
essentially, with the params specifying the WHERE clause of the SQL).
The problem comes when I try and re-issue the HTTPService with the
same parameters in that the jsp does NOT get called, and I simply get
a cached result from the previous HTTPService call.

Is there a way to cache/uncache these results so I don't have to add a
guaranteed unique dummy variable as a parameter (currently using a
timestamp as a workaround?

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to