[imp] Re: custom login for IMP

Steven Premeau premeau at uwp.edu
Mon May 17 12:13:16 PDT 2004


I have done a custom login script for our IMP implementation.   We 
needed to do it because we use the same login front end for two distinct 
IMP systems.  (Faculty/Staff & Current Students on one system, admitted 
students and Alumni on another.)

Depending on what your goal is, you can just create an HTML form with 
the fields from the "default" login screen.   (Through experimentation, 
I have discovered that it only seems to require 'imapuser', 'pass', and 
'server'.)   Set the form method to 'post' and the action to the URL of 
redirect.php  It should then work.

You do not need to "precreate" the session before accessing 
redirect.php, a new session will be created automatically if one doesn't 
exist already.

Hope this helps,
Steve.

>Has anyone done a custom login (when using IMP for auth)?  Im seeing a lot of java script that needs to be replicated, but what i am worried about is the session.  Is redirect creating the session?  how is this passed to login.html(or whatever)?  Thanks in advance.
>  
>
-- 
Steven Premeau, Network Manager      premeau at uwp.edu           (262) 595-2005
Computer and Network Services              University of Wisconsin - Parkside
-----------------------------------------------------------------------------
 "A car is more costly, complex, and dangerous than any word processor.  Yet
 you don't find a thousand page operating manual, nor must you check with a
 friend to learn how to close the window ..."
                                       - Cliff Stoll in "Silicon Snake Oil"





More information about the imp mailing list