A forum guru was helping me with this one before, but I never figured it out and need more help. This sessions deal sounded simple but now I just don't know. Here's where I am:
Objective: I have a log in page with many, many folders in the subdirectories. I am trying to create a log-in and session_start() in one of the folders depending on who logs in. So, user logs in, I redirect them to a folder, session recognizes the current session lets user view page and whalaa!
To this point: Some of the things I've tried, I can successfully use the sessions when I am just redirecting pages, and not folders. The session_save_path is never altered. When I try to alter session_save_path , the session_start creates two sessions, with the same name, in the same folder I am trying to allow access to. But because the new session_start is not recognizing the existing one, I get duplicates.
I try to manipulate the set_cookie_params and that function will not make any noticeable difference from not changing the save_path variable.
So in recap I'm either changing the save_path and getting two sessions of the same name in the same directory or manipulating the set cookie params and not getting any change. What do you all do when you want to accomplish this functionality? I am so thankful for any help!