simbako
08-10-2006, 10:33 PM
:confused:
i am making a page that has two level of admin. problem is, the sessions for both of them share same characteristics and values, thus it seems that they overwrite each other. :(
i've tried reading how to use session_name and the PHPSESSID but i can't really understand them... :confused:
problem is, when i log-in as admin2, i can see pages for admin1 though i can't really do things there, the page with no functionalities will appear. but it still shows. also, when i log-in to admin1 and then i log-in to admin2 in another page, the session for admin1 will be overwrited...
:eek:
:)
how do you make two separate sessions? how do you access the other session from the other?
i am making a page that has two level of admin. problem is, the sessions for both of them share same characteristics and values, thus it seems that they overwrite each other. :(
i've tried reading how to use session_name and the PHPSESSID but i can't really understand them... :confused:
problem is, when i log-in as admin2, i can see pages for admin1 though i can't really do things there, the page with no functionalities will appear. but it still shows. also, when i log-in to admin1 and then i log-in to admin2 in another page, the session for admin1 will be overwrited...
:eek:
:)
how do you make two separate sessions? how do you access the other session from the other?