Jump to content

Multiple applications single login


JDev

Recommended Posts

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
Link to comment
Share on other sites

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...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.