Technically the server can know, via headers.
http://www.developertutorials.com/learn-ajax/custom-http-headers-2643.php

At least if you're using jQuery I believe that it adds this to the header
automatically. 

-----Original Message-----
From: b...@bradwood.com [mailto:b...@bradwood.com] 
Sent: Friday, August 14, 2009 3:59 PM
To: cf-talk
Subject: RE: keeping a session alive


>> I have read that an AJAX request will not keep the session alive. 

Where did you hear that?  If the Ajax request is to a ColdFusion page that
is part of your application it will most certainly keep the session alive.
The server, after all, doesn't even know it is an Ajax call.

~Brad




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325463
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to