[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-users
Subject: Re: [SM-USERS] Squirrelmail Auth/Session system
From: pdontthink () angrynerds ! com
Date: 2003-11-27 22:21:34
[Download RAW message or body]
> Thanx...
>
>>>I want to bypass Squirrelmail's login screen, and automate login based
>>>on an existing session which I have due to the fact that my site has
>>>it's own Auth. system...how would I do so without tampering too much
>>>with the fabric of the SquirrelMail's own authentication system?
>>>
>>>
>>
>>There's no real easy way to do this seamlessly. I am guessing that your
>>other system has a session-based login system, whereas SM's is currently
>>cookie-based (this will change in the future). You'd basically have to
>>write some custom code that spits out a SquirrelMail cookie when the user
>>clicks to see their email. You might want to review the code in
>>src/redirect.php to see how SM does it. After you mimick that, you can
>>link directly to webmail.php.
>>
> However, on attempt to work within SM's cookie creation and generation
> on the src/redirect.php page...the session which contains the original
> login information is killed...any reason y?
Probably a clash in session name. Conf.pl, menu #4, selection #15 (or
$session_name in config/config.php). If that is still troublesome, fish
around in functions/global.php and try to see where you lose everything.
- paul
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
--
squirrelmail-users mailing list
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic