Error occurring when Forms Authentication has timed out

  •  05-11-2010, 3:27 AM

    Error occurring when Forms Authentication has timed out

    Hi,
    I've got a site using Forms Authentication and if I let the page time out, and then try to upload a file with Ajax Uploader (basic single file upload, upload type = auto) I get a large popup window error message that shows the message 'unknown result' and the HTML source of the page. When I check the server application event log it says "Forms authentication failed for the request. Reason: The ticket supplied has expired" - which is what I would expect.
     
    So, I'm wondering if there's a setting or a way to make Ajax Uploader check if the user is logged in before/after it uploads a file. I've tried checking if the user is logged-in in the Uploader_FileUploaded method but the error still occurs.
     
    Thanks.
View Complete Thread