-
how to prevent image cache in jsp (2 messages)
- Posted by: nikki kakani
- Posted on: February 18 2008 03:12 EST
hi everyone , actually i am using servlets & jsp.When first user logins the servlet is forward to jsp & the image is properly displayed ,but when second user logs in the first user image is displayed . I also tired response.setHeader( "Pragma", "no-cache" ); response.setHeader( "Cache-Control", "no-cache" ); response.setDateHeader( "Expires", 0 ); the image is not expired .Please help me out guys .thanks in advanceThreaded Messages (2)
- Re: how to prevent image cache in jsp by Arseniy Sizov on February 19 2008 09:58 EST
- How Can I generate Random Text by Ahmed Samir on May 11 2011 11:10 EDT
-
Re: how to prevent image cache in jsp[ Go to top ]
- Posted by: Arseniy Sizov
- Posted on: February 19 2008 09:58 EST
- in response to nikki kakani
in fact, the only reliable way to do it is to add some random text to the image url and regenerate it each time, because some browsers will ignore all the headers you set. -
How Can I generate Random Text[ Go to top ]
- Posted by: Ahmed Samir
- Posted on: May 11 2011 11:10 EDT
- in response to Arseniy Sizov
in fact, the only reliable way to do it is to add some random text to the image url and regenerate it each time, because some browsers will ignore all the headers you set.
Hello
Please Explain your way to generate the way of random text in the URL