Removing no-cache headers from incoming requests

Hey,
My problem is that my application is recieving pragma no-cache headers (and thats stuffing with my downstream applications) - I need these to get ripped out before the request goes on to my application server - so hopefully at the web server level.

We are using Sun Java Webserver 6.1 (possible a late 6.0 release actually - I'm not 100% sure)

Can someone let me know if there is a simple way to remove these headers and exactly how to do it. - I've attached quite a few points for you if you meet all these criteria.

Thanks!!!!
LVL 2
mailBoy2Asked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
then you have to remove it at the proxy
0
 
mailBoy2Author Commented:
Anyone?
0
 
ahoffmannCommented:
pragma:no-cache is a response header, usually
so why do you get these headers in the request?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
mailBoy2Author Commented:
A mobile device sends a nocache header when you refresh a page when surfing on our WAP menu.

My application is serving the WAP menu and I don't want the nocache headers getting past the web servers as it does funny things if my application recieves it. - Buy funny I mean really really bad!!!

Hence the header is arriving at my application with a no-cache header in the request.

How about I re-word the title to 'Removing / altering specific headers from incoming requests'
0
 
mailBoy2Author Commented:
Now 350 points
0
 
mailBoy2Author Commented:
Does anyone have any example code for doing this via an NSAPI plugin? - if you give me the exact code needed to pull out all the no-cache headers I'll up the points to 500 and assign them to the best solution (note - must be written for Solaris 9 and Sun web server 6.0).

-adding a proxy server into the mix will cause total chaos in regard to the architecture of the solution.
0
 
ahoffmannCommented:
I'm not shure if it can done directly in obj.conf, but if you're already familar with NSAPI then you can write a simple script (perl, shell, whatever) to remove this header and call it as NSAPI using Init directive in obj.conf
0
All Courses

From novice to tech pro — start learning today.