in reply to Re: login prompt in perl CGI
in thread login prompt in perl CGI

i mean the prompt box which gets input from user at runtime .
We have this in CGI script .

Replies are listed 'Best First'.
Re^3: login prompt in perl CGI
by Anonymous Monk on Aug 06, 2009 at 04:58 UTC
    You're not explaining yourself very well. You probably want to use the perl module CGI, but I already mentioned that, maybe you're talking about basic HTTP authentication?
Re^3: login prompt in perl CGI
by sselva (Novice) on Aug 06, 2009 at 04:47 UTC
    Actually our requirement(problem) is like this :
    we have a script( say data update script which update data in database) which is present in linux box. script is hosted on Apache which is installed in same linux box.
    we are executing the script in windows box .
    who ever accessing or executing the script in windows box there name should be passed to script(which they are executing ) and the script have to update in database .
    To get user information we planned to use the login prompt.
      Well, as somebody already said, there is HTTP basic authentication. This is configured in your Apache (see Apache auth howto for example). There are many other modules in Apache to get user/password information from a variety of sources (e.g. LDAP, Databases), if using htpasswd is not an option.

      To do this with HTML, you'll need to use a form to request the user/password from the user and implement your session handling yourself. Searching for session handling with CGI and Perl in your favourite search engine should get you more than enough information to get you started...