southbeach
Programmer
Working on a PHP application where I use session variables to track user credentials. I have added an additional module and for the sake of testing prior to deployment, I placed module one directory over (ie:
I am using an integrated routine to allow end-user the maintenance of a table (CRUD). The process is simple and I am using JavaScript onclick() event to execute JavaScript function which in turn open a new window calling the PHP script where the CRUD takes place.
The problem I am having is that when the PHP script is opened, the session is blank as if I has not been set. The same routine works just fine in the same server running off the root/webdocs directory (
Since the session is lost, PHP scripts routes user to log on prior to accessing the CRUD application, as it should.
Why am I loosing my session? No PHP script runs that would clear the session; I am going from onclick="openCRUD();" and openCRUD() opens a new window pointing to crud.php ...
Thank you all for you assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
I am using an integrated routine to allow end-user the maintenance of a table (CRUD). The process is simple and I am using JavaScript onclick() event to execute JavaScript function which in turn open a new window calling the PHP script where the CRUD takes place.
The problem I am having is that when the PHP script is opened, the session is blank as if I has not been set. The same routine works just fine in the same server running off the root/webdocs directory (
Since the session is lost, PHP scripts routes user to log on prior to accessing the CRUD application, as it should.
Why am I loosing my session? No PHP script runs that would clear the session; I am going from onclick="openCRUD();" and openCRUD() opens a new window pointing to crud.php ...
Thank you all for you assistance!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.