Yes, I'd store the status (isComplete, completedCount, etc.) is the session scope. The loop would update this as it iterates, and the AJAX polling would check these.
How to Ask Questions the Smart Way | Inversion of Control | Compile, Dammit!
Devshed is a Developer Shed Property, Owned by Jim Boykin, CEO of Internet Marketing Ninjas
Dev Shed Forums
© 2003 - 2016 by Devshed, LLC. All rights reserved