Jump to content

Archived

This topic is now archived and is closed to further replies.

JDev

Multiple applications single login

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

Share this post


Link to post
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...

Share this post


Link to post
Share on other sites

×

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.