use session in another directory folder...
- louiegiezer
- Posts: 57
- Joined: Fri Oct 21, 2011 11:31 am
- Contact:
use session in another directory folder...
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...
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...
Sessions should be global unless you're setting them otherwise upon assigning them.
<?php while(!$succeed = try()); ?>