There is no logic within Facelets for caching the output or
alternating
cache response headers.
Pimjai Wesnarat wrote:
> Hi all,
>
> I'm implementing a login session thing.
> I have a log in page and a servlet filter to check the
authentication.
> That part works fine. Now I am concerning about the
back button of the
> browser. Eg. when user logged out, user shouldn't be
able to see the
> page that needs authentication using the back button.
> I tried to use the meta tag--
>
> <meta http-equiv="Pragma"
content="no-cache" />
> <meta http-equiv="Cache-Control"
content="no-store" />
>
> I use this solution with pure JSF project and it works
fine. I am not
> able to use the back button to view the pages.
> Now that I have changed to use Facelets, this solution
does not work
> for me anymore.
> I put this meta tag in my template.xhtml. Other than
using the
> Facelets template, I didn't do anything different than
my pure JSF
> project. Could anybody tell me why it does not work? Is
there any
> Facelets-specific solution?
>
>
> Pim
>
>
>
>
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe facelets.dev.java.net
> For additional commands, e-mail: users-help facelets.dev.java.net
>
>
--
--------------------------
Sent from my FrankenBerry Wireless Handheld
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe facelets.dev.java.net
For additional commands, e-mail: users-help facelets.dev.java.net
|