We have a similar problem, but with another twist. We don't want proxies
along the way to cache pages, since their content is dynamically created. So
we set the cache-related http headers, and in addition add a parameter to
the URL (pdc=clock tick at the time of url creation) (pdc is an acronym for
"please don't cache"). This works well most of the time, but from time to
time we get a cached page nevertheless. We see this as the accompanying
cookie identifies someone else's session, and the users experiencing this
have to log on to our site again. And again. Etc. I'd really appreciate any
light shed on the topic "proxy servers and cookies". I've also noticed a
funny http response header that I suspect our netscape servers to add every
once in a while, but I don't recognize the header itself nor its semantics.
Any suggestions welcome!
Cache-control: no-cache="set-cookie, set-cookie2"

Regards and tia:
Roar

-----Opprinnelig melding-----
Fra: Drew Falkman [mailto:[EMAIL PROTECTED]] 
Sendt: 5. juni 2002 05:03
Til: JRun-Talk
Emne: RE: Proxy & Disappearing Parameter


It sounds like a caching issue - proxy servers do weird things with caching.
I would try using the headers with different values to see if it makes any
effect:

response.setHeader("Cache-Control","no-cache");
response.setDateHeader ("Expires", 0);

Those lines should prevent caching at the proxy server.

Drew Falkman
Author, JRun Web Application Construction Kit
http://www.drewfalkman.com/books/0789726009/

-----Original Message-----
From: Savantraj, Chennamakal Subramanian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 6:15 PM
To: JRun-Talk
Subject: Proxy & Disappearing Parameter


Dear Friends,

        I am experiencing a really funny problem.
We have a JSP Application running on JRun 3.1. This is a Local Intranet
Application.

I have a hidden field in form
        <input type="hidden" name="mode" value="0">

When I submit the form I get following strage results.
        Situation 1. Bypass the Proxy Server

        First time I get the value of mode.
        If I use back button of browser and submit again the parameter
becomes null.

        Situation 2. Go thru proxy server
        I always gets the value irrespective of first time or second time.

        Since going thru proxy slows down the access we do not want to use
that.

Could anyone throw some light to this strage problem.

Thanks in Advance...

Savant

-------------------------------------------------------------------
This email is confidential and intended only for the use of the individual
or entity named above and may contain information that is privileged. If you
are not the intended recipient, you are notified that any dissemination,
distribution or copying of this email is strictly prohibited. If you have
received this email in error, please notify us immediately by return email
or telephone and destroy the original message. Thank you. - This mail is
sent via Sony Asia Pacific Mail Gateway.
-------------------------------------------------------------------



______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to