HTTP Authentication

Hi,

When I save my thumbnails in ASP.Net I need to do some checks against my user to see if they reached a limit for the number of files they can upload. I was using HttpContext.Current.User.Identity.Name to check this with no problem before I starting using SWFUpload. Now when I use this on the upload pag the current user is empty. So this is because there's no Http Authentication in Flash? If so, how do I check the current user when I'm on this page?
Thanks.

gyphie's picture

Work around

This may be because Flash doesn't send the right cookies (in non-IE browsers or because it doesn't properly support HTTP Auth.

The work around is to manually pass the session id or some other identifier as a post_param with the upload. Then on the server side you check that value to rebuild the session or auth or whatever.

Thanks, for the moment until

Thanks, for the moment until I find a better solution I'm just passing the info in a session variable.