We're creating a page that allows registered users upload images. We've decided to go with Uploadify. With Uploadify, we've created a custom HttpHandler which will handle file uploads. However, when handling file uploads we need to ensure a few things: that the user is logged, in particular.
Our current check logged in methods ensures the following:
That way throughout the site, we can ensure that they can do certain things. If we add a WCF method, our logic works fine, however we needed to create an HttpHandler for image uploading, and that doesn't appear to be working at all with Uploadify/Umbraco.
Basically, the IsAuthenticated field is always false. And the GetCurrentMember always returns null.
What can be done so that we can have access to the current user's identity as well as the current Umbraco user?
Uploadify, HttpHandler, and Umbraco
Hi all,
We're creating a page that allows registered users upload images. We've decided to go with Uploadify. With Uploadify, we've created a custom HttpHandler which will handle file uploads. However, when handling file uploads we need to ensure a few things: that the user is logged, in particular.
Our current check logged in methods ensures the following:
HttpContext.Current.User.Identity.IsAuthenticated
And
Member.GetCurrentMember() != null && Member.GetCurrentMember().id > 0
That way throughout the site, we can ensure that they can do certain things. If we add a WCF method, our logic works fine, however we needed to create an HttpHandler for image uploading, and that doesn't appear to be working at all with Uploadify/Umbraco.
Basically, the IsAuthenticated field is always false. And the GetCurrentMember always returns null.
What can be done so that we can have access to the current user's identity as well as the current Umbraco user?
is working on a reply...