Development SESSION values nulling out

Discussion in 'Software' started by Draxin, 29 Apr 2008.

  1. Draxin

    Draxin Seeker of Photons

    Joined:
    29 Nov 2001
    Posts:
    965
    Likes Received:
    5
    so iv been asking alot of questions about flash and var passing lately.
    this is because a site i work for wants a flash uploader.
    doesnt sound to hard right? well for whatever reason everytime i try and pass a variable from the PHP script that calls the Flash object to the PHP script that the flash calls on completion all of the session variable that im passing end up blank.

    got a flash uploader made, used it on the guys site and it works fine.
    paid him, got the file put them up on our domain and low and behold the session variables are ending up blank again.

    i thought it was a problem with the first few flash uploaders i tried but this one i had custom made. it works, i used it. now it doesnt work on our domain.


    so i guess my question is this : what could possably be causing my session variables to go from "full of data" to BLANK?

    a server setting? PHP/Apache config problem?


    Any ideas?
     
  2. JazzXP

    JazzXP Eh! Steve

    Joined:
    30 Apr 2002
    Posts:
    1,669
    Likes Received:
    13
    Could be an auto variables problem (ie, it's turned on at one server, and off on yours). Is your script using $_SESSION['variable'] or just $variable?
     
  3. Draxin

    Draxin Seeker of Photons

    Joined:
    29 Nov 2001
    Posts:
    965
    Likes Received:
    5
    im using $_SESSION['variable'] 's else where without a problem.

    the only place it has a problem is in the PHP script that is called by the Flash object on completion.

    everywhere else it works just fine


    i dont know how to explain this very well.

    a PHP script calls the Flash Uploader object.
    once a file has been uploaded the flash triggers a PHP script. but the browser never leaves the page that called the Flash Uploader object.
    does that make any kind of sence?
     
    Last edited: 30 Apr 2008

Share This Page