JDev Posted June 7, 2006 Share Posted June 7, 2006 Hello,I'm trying to write a single login page that will set session variables for multiple applications, and allow the user to login once and use each of these applications. This has been working fine for the applications in which I wrote. However, I am now trying to add squirrelmail to my list of pages and I'm running in to some funny results. Squirrelmail doesnot see the session variables that I set and my applications don't see any of the session variables that squirrelmail has set. Both applications are on the same server and I'm connecting to them with the same browser (firefox) and using the same tab as well. My question is, is there a problem with having session variables reference code that is in diffrent directories as the rest of the initially calling code? thanks in advance,JDev Quote Link to comment https://forums.phpfreaks.com/topic/11430-multiple-applications-single-login/ Share on other sites More sharing options...
zq29 Posted June 7, 2006 Share Posted June 7, 2006 Has Squirrelmail set it's own session name? You should be able to just add the line[code]echo session_name();[/code] somewhere before the session has been started. If so, you'll have to join that session within your applications rather than creating a new one - or prevent Squirrelmail from creating its own one... Quote Link to comment https://forums.phpfreaks.com/topic/11430-multiple-applications-single-login/#findComment-42956 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.