could be a caching issue in that sometimes the browser will say "Heh! I just 
got that identical response 5 mins ago from that url, no need to travel to the 
server here is the response I got last time"! 

Try adding a date time string to the javascript that initiates the call.

Test your function to see if it actually is getting the call - maybe the 
browser is just returning its cache - you could add a script to the server 
function that recorded some session data into a database.

Andrew.

> Hi,
> 
> we have an ajax application and to refresh the session we make a 
> remote call to the following function on the server, which simply 
> returns true:
> 
> <cffunction name="refreshSession" access="remote" output="false" 
> returntype="boolean" hint="is just called to reset session">
>               <cfreturn true/>
>       </cffunction>
> 
> we are having intermittent problems where sometimes the server session 
> timeouts out even though we make a call to this function, indicating 
> it is not being refreshed correctly.
> 
> would the function above actually keep the session alive? if not what 
> should we be doing?
> 
> thanks 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320764
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to