pranav_kavi Posted October 25, 2007 Share Posted October 25, 2007 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... Quote Link to comment https://forums.phpfreaks.com/topic/74710-solved-session-problem-or-browser-problem/ Share on other sites More sharing options...
rajivgonsalves Posted October 25, 2007 Share Posted October 25, 2007 This could be a caching issue with IE please check Tools->Internet Options In General Tab In Temporary Internet Files check the settings Quote Link to comment https://forums.phpfreaks.com/topic/74710-solved-session-problem-or-browser-problem/#findComment-377693 Share on other sites More sharing options...
pranav_kavi Posted October 25, 2007 Author Share Posted October 25, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/74710-solved-session-problem-or-browser-problem/#findComment-377696 Share on other sites More sharing options...
pranav_kavi Posted October 25, 2007 Author Share Posted October 25, 2007 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> Quote Link to comment https://forums.phpfreaks.com/topic/74710-solved-session-problem-or-browser-problem/#findComment-377702 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.