From: Jason F. <ja...@we...> - 2004-02-22 22:11:11
|
Simply changing the my cookie from "pass" to "mypass" worked perfectly! I like easy fixes. Thank you! p dont think said: >> Here is the story: I have been using the "Login Auto 1.1" plugin for >> quite >> some time, and I just recently implemented the rest of my website in >> PHP. >> In the rest of my website, I have created a login feature that uses a >> cookie with information "UID" (a number) and "pass" an md5 string. So >> there are two logins, on to login to my website, then another login to >> get >> to Squirrelmail. And they seemed to get along for about 2 days. >> >> Now after logging in to my website, I can log into squirrelmail, but as >> soon as I close my browser down, and try to go back (which is when >> squirrelmail's cookie would be read) I get: >> "ERROR: >> Bad request: Missing or invalid argument to LOGIN >> >> Read data:" >> >> Once this occurs, the only way to get back into squirrelmail is to clear >> the cookies. >> I double checked, and have verified that I have not violated >> Squirrelmail's cookie's values any, as my value's have different >> identifiers. > > SM's cookies or Login_Auto's cookies? Login_auto has two of its own > cookies, called user and pass. If you can't figure out the conflict, it > might be useful to insert this at about line 54 of > plugins/login_auto/functions.php: > > sm_print_r($user, $pass, $_COOKIE); exit; > > - Paul > - Jason |