Search found 2 matches

by scottm
Mon Jul 30, 2012 2:12 pm
Forum: JFileUpload
Topic: Callbacks out of order, IE triggers onbeforeunload
Replies: 3
Views: 8091

Re: Callbacks out of order, IE triggers onbeforeunload

Are you using HTTP or FTP upload? If HTTP, are you sure you have "Connection","Close" HTTP header enabled in the server-side script? If not it could explain why cancel does not work as expected. I am using HTTP, yes. I'm not sure what you mean by "Connection","Close" headers, though. I'm pretty new...
by scottm
Wed Jul 25, 2012 9:34 pm
Forum: JFileUpload
Topic: Callbacks out of order, IE triggers onbeforeunload
Replies: 3
Views: 8091

Callbacks out of order, IE triggers onbeforeunload

I'm using JFileUpload for an asset management system and I want to use the onbeforeunload event to make sure everything is squared away as it should be if they exit the window as the uploader is working. The event cancels the upload and calls another script to handle the files already on the server....