Paul Lesneiwski wrote:


Daniel Watts wrote:

SQM: 1.4.4
Internet Explorer (something recent)

Username: [EMAIL PROTECTED]
Login Page: www.logindomain.com
Login form is posted from http://www.logindomain.com/index.php with post action: http://www.herdomain.com/webmail/src/redirect.php

I must declare a modification to redirect.php:

    sqimap_logout($imapConnection);
    sqsession_register($delimiter, 'delimiter');
    $username = $login_username;
+   list($blank,$domain) = explode("@",$username);

This lets the user continue with their @herdomain.com address within squirrelmail running under http://www.logindomain.com/webmail/src/webmail.php


uh? maybe you should explain what you are trying to "fix" here (as well as what you are doing with the different domains and how they are related)


This is just so that people can log in using a username of "[EMAIL PROTECTED]" and log in from "www.domain2.com". The $domain variable is set to the user's domain rather than the actual domain of the website they're logging in through.


[[[[[
Not sure if relevant:
I have vlogin's $virtualDomains array for 'herdomain' set to include:
     'useDomainFromVirtDomainsArray' => '0'
]]]]]

This works fine for 90% of users. However a few of my users are finding that they need to delete their cookies EVERY time before they login. If they do not they get the error message "Username or password incorrect".


which cookie is the problem?

maybe the username one? which plugin sets that one? might be the login_auto plugin or...? why not try removing suspicious plugins and seeing what happens?

They delete their cookies and then can login fine...once.


Just by way of a follow up - it appears that I had to ask the user to Delete All Offline Files as well as delete cookies to get around this problem.

Best,
Daniel



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?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=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to