Uploadify (Session and authentication) with ASP.NET MVC

To correct this I propose you a solution… Send the auth cookie value and session id cookie value with uploadify and recreate it before session is retrieved. here is the code to implent in the view : <script> var auth = “<% = Request.Cookies[FormsAuthentication.FormsCookieName]==null ? string.Empty : Request.Cookies[FormsAuthentication.FormsCookieName].Value %>”; var ASPSESSID = “<%= Session.SessionID %>”; … Read more

How do I get jQuery’s Uploadify plugin to work with ASP.NET MVC?

public string Upload(HttpPostedFileBase FileData) {} is correct – the file uploaded by uploadify will get binded to FileData. No need to get into Request.Files to retrieve the file – which makes it harder to mock and test. If your action isn’t firing at all (i.e. try debugging and see if a breakpoint within the method … Read more

Clear text area

When you do $(“#vinanghinguyen_images_bbocde”).val(”);, it removes all the content of the textarea, so if that’s not what is happening, the problem is probably somewhere else. It might help if you post a little bit larger portion of your code, since the example you provided works.

tech