Home: Perl Programming Help: Intermediate:
$ENV{'REDIRECT_REMOTE_USER'} works with GET but not POST

New User

Nov 12, 2012, 6:31 PM

Views: 4165
$ENV{'REDIRECT_REMOTE_USER'} works with GET but not POST

On my site I use $ENV{'REDIRECT_REMOTE_USER'} to get the username of the user and it is working just fine for any "regular" pages or pages that receive information from the GET form action. However, when I set the form action to POST on the resulting page $ENV{'REDIRECT_REMOTE_USER'} is empty and I cannot do anything with the information because I no longer know the user. This has only been a recent problem.

Does anyone know why this could be? Thanks in advance.