Sharing session data between main site and squirrelmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.  I have example.com, which is my own site that lets people log in, and
then example.com/sqmail, which has squirrelmail.  I'd like users to be able
to move between the two without having to log in again.  I am now able to
move to squirrelmail and pass the login data to squirrelmail, but moving in
the opposite direction is not working.

What I'd like is for a php file on the main site, eg.
example.com/account.php, to be able to "peek" at squirrelmail's session
data.  This is the code I have come up with:

ini_set('session.name' , 'SQMSESSID');
session_set_cookie_params ( 0, '/sqmail/' );
@session_start();

Of course, it doesn't work.  The $_SESSION variable is empty after doing
this.

Does anyone have an idea of what's wrong, or how I should approach doing
this?  Thanks!
-- 
View this message in context: http://www.nabble.com/Sharing-session-data-between-main-site-and-squirrelmail-tp25850061p25850061.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux