Jump to content

Recommended Posts

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...

I have also another site tat also has the same functionality for login.The login code s xactly similar as the users are common 2 both d sites.The login for d 2nd site site works well in IE as well as FF.

If twas a cache setting problem of IE, it wud b shown for d 2nd site also.

For those who may come across tis prob...twas the IE cache problem.To avoid tis, I added the following lines in my php files tat had the html tags.

 

<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</head>

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.