On my web site I have user chat in the form of an applet. Instead of using HTML to display the applet and so forth, I made a perl script instead. If you know Perl, then I do not have to explain, you'll know what I mean and how to integrated variables into HTML (that's for advanced users only.)
The other way to do this is to write a javascript routine which loads cookies and fills in the username field automatically.
None of this has anything to do specifically with the login script, please note.
Visit my BBS
http://www.accessdeniedbbs.net and go to my chat function and you'll see how I did it. I used the Perl method.
-jim
------------------
From: Jim Goldbloom
UBB Code Hacker
http://www.accessdeniedbbs.net/downloads for latest hacks