Thanks Carl. After much play with hacking cookies and trying to build them on the fly. I got management to see that a one shot logon script would not be a bad thing. User does initial logon - verify against db - set cookie, user should not have to logon again. I have used the same approach before.
Thanks to all for the comments on this question. Many were very helpful. -----Original Message----- From: Carl Jolley [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 8:29 AM To: Norris, Joseph Cc: 'Jan Dubois'; Perl Win32 Users (E-mail); Perl Web (E-mail) Subject: RE: Question about $ENV{} Apache CGI On Thu, 26 Sep 2002, Norris, Joseph wrote: > Jan, > > Thanks for this valuable bit of knowledge - I did not know about it. However > when I put that in the config file, restarted apache, it gave me the > username of the web server not the individual using the web page which is > the problem. I need to know within our intranet who is hitting that page > without using the htaccess which would require the sign on, cookies, etc... > > I will go this route as a last pitch but I would like to be able to do it > without this if possible. I do have an angle and if it pans out I will put > it on the list. If anyone else has an idea - I am open to all. It seems > that it must be something that can be accomplished - I mean when a cookie is > built the browser knows the username because it builds the cookie file as > name_of_user@name_of_domain[#].txt. > You _may_ be able to use $ENV{REMOTE_ADDR} to map to an end-users IP address. Of course, if multiple people use the same P.C. then mapping between the I.P. address and an individual won't work. **** [EMAIL PROTECTED] <Carl Jolley> **** All opinions are my own and not necessarily those of my employer **** _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs