Hi Andrey
Thanks for the suggestion, but I am already doing in this way, IE still
giving problems.
Please suggest.
Andrey Volkov wrote:
Anish,
If your problem really concerns caching in IE, try to add to
sitemap.xconf in pubs/default the lines in bold:
<!-- client cache expiration settings -->
<map:select type="parameter">
<map:parameter name="parameter-selector-test" value="{1}"/>
<!-- for live area: -->
<map:when test="live">
<!-- set cache expiration header according to resource
type configuration (<expires/>) -->
<map:act type="language-exists">
<map:act type="set-header">
*<!--*<map:parameter name="Expires"
value="{date-iso8601-rfc822:{doc-info:{page-envelope:publication-id}:{page-envelope:area}:{page-envelope:document-uuid}:{page-envelope:document-language}:expires}}"/>*-->*
*<map:parameter name="Cache-Control" value="no-cache" />
<map:parameter name="Expires" value="-1"/>
<map:parameter name="Pragma" value="no-cache"/>*
</map:act>
</map:act>
</map:when>
<!-- for other areas -->
<map:otherwise>
<!-- tell the browser not to cache stuff so that the user
always sees up-to-date content -->
<map:act type="set-header">
*<map:parameter name="Cache-Control" value="no-cache" />
<map:parameter name="Pragma" value="no-cache"/>*
</map:act>
</map:otherwise>
</map:select>
I faced a similar problem and AFAIR it helped to solve the problem
with IE caching.
--
With best regards,
Andrey Volkov
On Wed, Sep 2, 2009 at 7:33 PM, Anish <[email protected]
<mailto:[email protected]>> wrote:
Hi All
I'm working on login functionality in my application (Lenya 2.0.3,
Firedocs, tomcat 5.5.17). I used to store login info in the
session if my user (my application's user) is authenticated from DB.
I'm facing a strange problem, if I use Mozilla Firefox it works
fine and my request moves fine within the sitemap (control flow in
sitemap). But in case of IE it stops in between without any
exception (even not in lenya logs).
My application logic is fine as it works fine with firefox. I've
added *type="noncaching" *to all my pipelines still IE redirecting
to login page. I thought it was due to some cache problem but it's
working well for firefox.
(Please note all this is in live area and this login is my
application login, not lenya's authoring login)
Please suggest.
--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk <http://www.technologyblueprint.co.uk>
Thanks & regards
--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk