Jump to content


Photo

Multiple applications single login


  • Please log in to reply
1 reply to this topic

#1 JDev

JDev
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 07 June 2006 - 05:39 PM

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

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 07 June 2006 - 09:13 PM

Has Squirrelmail set it's own session name? You should be able to just add the line
echo session_name();
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...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users