Sign in to follow this  
JDev

[web] single login multiple session varibles

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
I recently did this while integrating a few open source apps together. What would do is look into how squirrel mail logs in and then create a page that mimics that with encrypted data that you pass when opening the page. decods the login data that was passed and verify that it is valid for squirrelmail then proceed to set the session variables that squirrel mail uses to signify login on your custom page. Then redirect to the page in squirrelmail that you want to show.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this