Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is a way you can use cookies when sending from flash. Cookies is needed for php to find the session storage id. The value that is stored in the cookie is actual the session id and the cookie name is in most cases the session name. To get the session in php can´t be done by typing $_SESSION['name'] but you can make your own session library that you include. This will let php get all of the nassery values and you can continue.</p> <p>Here is a session library that I put together in php:</p> <pre><code>function SESSION_OPEN($PATH,$NAME){ global $SESSION_PATH, $SESSION_NAME; $SESSION_PATH=$PATH; $SESSION_NAME=$NAME; return(true); } function SESSION_CLOSE(){ return(true); } function SESSION_GET($ID){ global $SESSION_PATH, $SESSION_NAME; $STR_PATH="$SESSION_PATH/USES_".session_id()."_$ID"; if($RESOURCE = @fopen($STR_PATH,"r")){ $CONTENT = @fread($RESOURCE ,filesize($STR_PATH)); return($CONTENT); }else{ return(false); } } function SESSION_PUT($ID,$VALUE){ global $SESSION_PATH, $SESSION_NAME; $STR_PATH="$SESSION_PATH/USES_".session_id()."_$ID"; if($RESOURCE = @fopen($STR_PATH,"w")){ fwrite($RESOURCE , $VALUE ); return(true); }else{ return(false); } } function SESSION_DEST($ID){ global $SESSION_PATH, $SESSION_NAME; $STR_PATH="$SESSION_PATH/USES_".session_id()."_$ID"; return(@unlink($STR_PATH)); } function SESSION_GC($MAX_EXECUTION){ return(true); } session_set_save_handler("SESSION_OPEN","SESSION_CLOSE","SESSION_GET","SESSION_PUT","SESSION_DEST","SESSION_GC"); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload