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/29/07 07:38

Hi,

Try using session_cache_limiter('nocache') before session_start. This
will tell the browser not to cache the page.

Regards,
John Peters

On Oct 28, 5:21 am, "sw@bglore" <pranav.k...@gmail.com> wrote:
> Hi all,
>
> I have a news website tat is developed on joomla 1.5.Login facility is
> done thru a login component.On each page,ther s a 'Log In' link that
> redirects them to a login page.On successful login,user details are
> set in session as well as cookies and then redirected back to d
> referring page.The 'Log In' section changes to 'Welcome user',along
> wid a 'Log Out' link.All this works d same in IE 6 as well as in FF
> 2.The difference comes durin log out action.
>
> In FF,on clickin 'Log Out',the required session vars are set '' as
> well as cookies in d component and then redirected back to referring
> page.The login bar changes back to 'Log in'.But in IE,once redirected
> from the component,the page still shows the login bar as 'Welcome
> user'.Only if i manually click the refresh button (of IE), the page
> gets refreshed and the login bar shows logged out status.
>
> Any help wud be highly appreciated...

 

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

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