okok
06-09-2004, 11:53 AM
Perhaps someone here has an idea about this problem.
I have a php script that checks whether a user is logged in, that is, whether some session variable exists. If they are, it sends the user a WMV video file. If not, it displays a login page.
This works great on most systems. Usually, if the user is logged in, the video opens in their MS Media Player. However, on a win98se, IE 6, MediaPlayer 9 system I have, the media player fails to download and open the video.
To my understanding, this is probably because when the MediaPlayer tries to access the URL it receives from the browser, it does not share the same session as the broswer, and therefore actualy gets the login page and not the wmv file.
Is there anything I can do to prevent this behaviour? For the time being, I ask users to save the WMV locally and then open. But I want users to be able to open it automatically when they click a link.
Thanks
I have a php script that checks whether a user is logged in, that is, whether some session variable exists. If they are, it sends the user a WMV video file. If not, it displays a login page.
This works great on most systems. Usually, if the user is logged in, the video opens in their MS Media Player. However, on a win98se, IE 6, MediaPlayer 9 system I have, the media player fails to download and open the video.
To my understanding, this is probably because when the MediaPlayer tries to access the URL it receives from the browser, it does not share the same session as the broswer, and therefore actualy gets the login page and not the wmv file.
Is there anything I can do to prevent this behaviour? For the time being, I ask users to save the WMV locally and then open. But I want users to be able to open it automatically when they click a link.
Thanks
