Paul Lesneiwski wrote:
>> > Hello.
>> > Why can't I do multiple logins with the same browser? Once I login a
>> > second time every action in the first login lead to a "You are not
>> logged
>> > in" error message. This happens even when I login to a different
>> account.
>>
>> > I guess this has something to do with the cookie. Is it hard to change
>> the
>> > code for the cookie to allow a additional cookie for every login? Is
>> this
>> > already on a to do list somewhere?
>>
>> The cookie names have to be unique. To have unique cookie names,
>> something has to be parsed between each page to tell the next page
>> what the unique cookie name is, to do that requires some work. A
>> simple solution, though not too small of a job is to enable trans_sid
>> in your session settings in php.ini, disable session cookies in your
>> php.ini, and find all calls to fetching the 'key' cookie, and changing
>> them to fetching a random name, which you store in the session.  ie:
>
> <snip>
>
> FYI, if the logins are to different domains, it works fine.  If you
> host virtual domains and can route your mail per domain, that's one
> thing that will work, but asking for multiple logins to the same SM
> installation, same domain is asking a bit much.  :)  In that case, try
> simply using a different browser for each login
> (IE/Firefox/Opera/etc).

Ah, I see this is going to be non-trivial.

That will be ok for a while, I just decided to get that work done first
which is essentially for my web site: Translating/localizing some
plugins...

Thx for the explanations,

Greetings,
Robert

-- 
http://www.fixe-post.de



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to