From: Artit J. <ar...@pg...> - 2003-05-27 11:29:22
|
Not a problem. In fact, after further digging by a coworker, we've narrowed it down to a problem with the login_cookie hook. (Note that none of us are really programmers, so this is what seems reasonable to us.) It looks like http_auth uses the login_cookie hook, which in the src/login.php file, comes right before the script that squirrelmail uses to autodetect the javascript. However, in the hook function in the http_auth pluging, after getting the http username and password, it does a redirect to the src/redirect.php page. So it looks like the autodetection script never gets run. In the meantime, just to make it work, we'ved edited the http_auth plugin to redirect to "src/redirect.php?login_username=$login_username&js_autodetect_results=true" instead, and while not the most elegant solution, since all our uses have javascript capable browsers, it gets the job done. Hope this helps anybody else having similar problems =) Artit J. On Tue, 2003-05-27 at 03:59, p dont think wrote: > Artit, > > Thanks for following up on your own message. That really helps people > searching the archives! If you can track down exactly why you were > getting this behavior, we'd love to hear about it. > > Thanks! > > Paul > > > I've narrowed the problem down to the javascript autodetection routine > > in squirrelmail. When Javascript is set to "always" instead of > > "autodetect" in the display options, both plugins then show up. |