Page 1 of 1

use session in another directory folder...

Posted: Mon Jan 27, 2014 9:27 am
by louiegiezer
i have a folder let say... folder1 which is the root folder, then folder 2 inside of folder1... let example i have a session activty in folder 2.... how can i put the session of folder 2 in outside of that folder... and use it to folder 3.... can u get it guys?... i try to put session_start(); at very beginning of pages..... but the data is undefined...

Re: use session in another directory folder...

Posted: Mon Jan 27, 2014 7:41 pm
by Temor
I'm sorry but I have no idea what you're trying to do. Instead of calling them Folder1,2 and 3, give them a real name.

Re: use session in another directory folder...

Posted: Mon Jan 27, 2014 8:20 pm
by ScTech
Sessions should be global unless you're setting them otherwise upon assigning them.