Posted by Fran Garcνa on 09/21/05 15:12
Fran GarcΓa wrote:
> Yes, the sessions works right, but I think that the problem is that the
> displayfile.php is inside a media player object and it cannot inherit
> the session variables or something like that.
>
> IΒ΄m trying right now to read the session variables passing it through
> the GET variables.
>
IΒ΄ve fixed my own problem passing the session_id into a get string and
then loading in the script the session with the name passed through the
GET string.
<mediaplayer
src="displayfile.php?session_id=af24234ls&filename=myaudiofile.mp3">
and then in the displayfile.php
session_id($session_id);
session_start();
[Back to original message]
|