session_name()

If you are wanting to use different more than one session on the same domain, (i.e. if you have several versions of the same login system in different folders or subdomains), you need to name your session before calling session_start();