On my site I have an admin toolbar that shows up on everypage if the user is logged in based on Session vararable EQ Session vararable.
After login they are direct to index.cfm and toolbar shows up. Works great. Now I have found that because the browser is caching all the pages they visit while logged in (So toolbar is visable). When they log out and so now I set Session vararable NEQ Session vararable and they are redirect to index.cfm again.
So now toolbar should not be visabe but it is untill I refresh the page and is visible on all visited page while logged in. Untill its refreshed. Can I some how force a new call to the pages.
Thanks
Force fresh call to pages
Page 1 of 13 Replies - 729 Views - Last Post: 17 August 2010 - 06:52 PM
Replies To: Force fresh call to pages
#2
Re: Force fresh call to pages
Posted 12 August 2010 - 12:52 PM
It appears I want to use <cfcache action = "flush" expireurl="*"> it seems to work. But I'm not sure if this clears all cache for all sessions or just the one that invoked this.
Does anyone know?
Does anyone know?
#3
Re: Force fresh call to pages
Posted 16 August 2010 - 09:22 AM
mpryan73, on 12 August 2010 - 11:52 AM, said:
It appears I want to use <cfcache action = "flush" expireurl="*"> it seems to work. But I'm not sure if this clears all cache for all sessions or just the one that invoked this.
Does anyone know?
Does anyone know?
I believe it flushes the server side page cache which means it would affect all sessions.
#4
Re: Force fresh call to pages
Posted 17 August 2010 - 06:52 PM
Can you post your session check code and your session clear code for us to look at?
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|