Problem with caching in Https

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with caching in Https

G.Venkata Phanindra
Hi all,
         I am facing problem with pages getting cached ad i tried to add the
followin Meta Tags .... if i add them the user is forced to login for every
request he want to use ....
           <meta http-equiv="Pragma" content="no-cache">
           <meta http-equiv="Cache-Control" content="no-cache">
         <meta http-equiv="Expires" content="1">
How do i make sure the user is not forced to login for every request ...

G.Venkata Phanindra
Mob:: 9849852989
Reply | Threaded
Open this post in threaded view
|

RE: Problem with caching in Https

Sayoke Shome

This is a problem I also faced in my application. Browser these days
don't respect to these meta tags that much:-)

You do one thing, in the webapp you will have a controller.xml and there
in preprocessor you add this following java event.

<event type="java" path="org.ofbiz.base.util.UtilHttp"
invoke="setResponseBrowserProxyNoCache"/>

I believe it will help you as it helped me.

Thanks and regards,

Sayoke Shome | eCommerce Framework Developer | ENSIA | kolkata | mobile
0.99031.80520 |

"Integrity without knowledge is weak and useless, and knowledge without
integrity is dangerous and dreadful."

 

 

 

-----Original Message-----
From: G.Venkata Phanindra [mailto:[hidden email]]
Sent: Friday, December 15, 2006 10:03 PM
To: [hidden email]
Subject: Problem with caching in Https

 

Hi all,

         I am facing problem with pages getting cached ad i tried to add
the

followin Meta Tags .... if i add them the user is forced to login for
every

request he want to use ....

           <meta http-equiv="Pragma" content="no-cache">

           <meta http-equiv="Cache-Control" content="no-cache">

         <meta http-equiv="Expires" content="1">

How do i make sure the user is not forced to login for every request ...

 

G.Venkata Phanindra

Mob:: 9849852989



============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.
 
Disclaimer:

This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/Disclaimer.html">http://tim.techmahindra.com/Disclaimer.html</a> internally within Tech Mahindra.

============================================================================================================================