Jump to content
  • Advertisement
Sign in to follow this  
JDev

[web] single login multiple session varibles

This topic is 4397 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!