Session vars in parent dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Howdy all,

I have a login app that runs at:
  DOCUMENT_ROOT/admin/index.php
and an AJAX action at:
  DOCUMENT_ROOT/somefile.php

The login app and all the scripts based under the admin/ folder have no
problems, but the AJAX scripts don't know jack about any stinkin
$_SESSION var.  

I can only presume this is an issue with the folder.  I added this to
both the layout code and the Ajax handler script:

echo "<pre>"; print_r($_SESSION); echo "</pre>";

(with an exit() after that in the Ajax action handler)

And I get the full session explanation in the layout but I get 

Array
(
)

from the Ajax script.  

session_start() is being called as the first line of the Ajax script.

Any thoughts?

Nathan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux