diff --git a/lib/WebGUI/Session/Env.pm b/lib/WebGUI/Session/Env.pm index 00ce8e52a..0fb4efbf9 100644 --- a/lib/WebGUI/Session/Env.pm +++ b/lib/WebGUI/Session/Env.pm @@ -36,6 +36,7 @@ These methods are available from this package: =cut + #------------------------------------------------------------------- =head2 DESTROY ( ) @@ -50,7 +51,6 @@ sub DESTROY { } - #------------------------------------------------------------------- =head2 get( varName ) @@ -75,6 +75,7 @@ sub get { =head2 getIp ( ) Returns the user's real IP address. Normally this is REMOTE_ADDR, but if they go through a proxy server it might be in HTTP_X_FORWARDED_FOR. This method attempts to figure out what the most likely IP is for the user. Note that it's possible to spoof this and therefore shouldn't be used as your only security mechanism for validating a user. + =cut sub getIp { @@ -100,5 +101,4 @@ sub new { } - 1;