Not that you've probably had a chance to get back to all of these suggestion, but I agree with a previous post - it all depends on the circumstances. Can you get us more information on the environment, both where you want to place the perl application and what kind of network it will live on? I know that in the past I've used the LDAP module to get user information against the Microsoft Directory server or Netscape's LDAP server, but in both cases it was based on some combination of $ENV{YADA} variables. If this
isn't coming through a web server, it does get more difficult.
That said, I notice you mentioned cgi or asp, so I guess it is coming through a web server =:) Check out the ENV variables that are available. You may not be able to get the exact username if it hasn't been authenticated, but you may be able to pull something else out that is unique. For instance, if this is a closed and limited system, you will be able to get their machine name, which in closed networks tends to be a unique identifier.
Consider anything you might see in a web server log and that will get you close to a solution.
z3d
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.