|
Posted by sw@bglore on 10/30/07 05:41
On Oct 29, 9:58 pm, petersprc <peters...@gmail.com> wrote:
> Try using 'nocache' instead of 'none'. This will set the Cache-
> Control, Expires, and Pragma headers as below. The 'none' value won't
> define any additional cache headers.
>
> Expires: Thu, 19 Nov 1981 08:52:00 GMT
> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
> pre-check=0
> Pragma: no-cache
>
> On Oct 29, 5:29 am, "sw@bglore" <pranav.k...@gmail.com> wrote:
>
> > Thanks 4 d help..but tat dint help.
> > I found tis particulr code in the application wher d sessions wher
> > restartd.
>
> > session_cache_limiter('none');
> > session_start();
>
> > // Send modified header for IE 6.0 Security Policy
> > header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
>
> > I tried commentin out d header..but dint help.I wud like to know
> > whethr the abov header s correct.
I am not kind of sure as to whethr it is a cache problem.Because wen a
user clicks on 'Log In',he s redirected to login page.If he has
successfully logged in,requird sessions 'n cookies r set and then
redirected back to referring page.At this point,the referrin page
shows the correct user name from session/cookie.
Wen clickin 'Log Out',the control goes to login function,sessions 'n
cookies r reset and then redirectd back to referrin page.At this
point,the referrin page still shows the username 'n not d logged out
status.Y does d cache comes in2 picture durin log out action 'n not
durin login action?
Navigation:
[Reply to this message]
|