Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Streaming large file not working with Forms Authentication?

Thread Tools

Streaming large file not working with Forms Authentication?

Chris Zopers
Posts: n/a
Hi all,

I've got an ASP.NET website that shows video's (mpg format) using the
Windows Media Player Active X component (object
classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' etcetera).

The video's are being send to the client by using the Response.WriteFile
method. Everything works fine, except when I use Forms Authentication in
the web.config. At that point, the site works great but the video's
won't load anymore. The player starts for about 2 seconds and stops
again. It seems that the whole mpg file won't be streamed anymore or
something. When I debug the code, everything works just fine, no bugs or

Does anyone recognize this problem or knows a solution for this?


*** Sent via Developersdex ***
Reply With Quote
Chris Zopers
Posts: n/a
After long searching the internet I found what causes the problem over

*** Sent via Developersdex ***
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best practice for streaming fairly large files from server to clie Phil Johnson ASP .Net 9 11-28-2007 03:21 PM
Streaming file to user: 'File could not be opened' CJM ASP General 7 03-30-2006 10:38 AM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Streaming large files over network A.M-SG ASP .Net 3 11-07-2005 02:24 PM