|
Posted by Jerry Stuckle on 10/29/07 11:24
petersprc wrote:
> 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...
>
>
>
> Hi,
>
> Try using session_cache_limiter('nocache') before session_start. This
> will tell the browser not to cache the page.
>
> Regards,
> John Peters
>
(Top posting fixed)
Which the browser can ignore, unfortunately. And even if the browser
doesn't ignore the cache, any of the systems between the client and the
server could cache it.
How I wish it did work properly.
P.S. Please don't top post.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|