A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: session variables's scope

  1. #1
    Senior Member
    Join Date
    Aug 2003
    .. keep movin' ...

    session variables's scope

    hi ..
    .. i got an Index.php ..
    .. it has a signIn.swf .. which calls upon signIn.php ..
    .. i use sendAndLoad method from Flash to send and recieve the values, and so, the signIn.php page is never seen, though it worx fine.

    .. question ....... if i set a session varable in signIn.php .. what would its scope be .. i mean .. would that also affect Index.php .. ? or would it be just lost, coz it never came to the browser window ?
    Theres a Devil inside us all .. only, some are afraid to bring it out !

  2. #2
    Senior Member
    Join Date
    Sep 2000
    San Francisco
    You must always call session_start() if you want to use the $_SESSION or $HTTP_SESSION_VARS arrays. This function not only starts the session it continues a current session.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center