On Jan 30, 9:25 pm, hind aiouej <aiouej.h...@gmail.com> wrote:
> hi, i have a big problem, i brok the session with session.invaDate(); but
> when i click on back it can return to the old pages that i visited.
>
> who can help me on this problem ?
>
> --
> Mlle.Hind AIOUEJ
> Etudiante à l'ENSA de Tanger
> Master Réseaux et Systèmes
> Université Abdelmalek Essaâdi


hi..

this is bowser specific issue...you can't prevent back button action..
but if
you use this code at the top of the page...

        response.setHeader("Cache-Control", "no-store, no-cache, must-
revalidate");
        response.addHeader("Cache-Control", "post-check=0, pre-check=0");
        response.setDateHeader("Expires", 0);
        response.setHeader("Pragma","no-cache");

browser will not store cache ..and may be your problem solve.

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to