You are here: Re: Session or browser problem?? « PHP Programming Language « IT news, forums, messages
Re: Session or browser problem??

Posted by petersprc on 10/30/07 13:14

The login request is submitting a form.

On Oct 30, 12:41 am, "sw@bglore" <pranav.k...@gmail.com> wrote:
> 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация