perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niels van Dijke <>
Subject Request object API change request
Date Wed, 25 Jul 2007 11:12:43 GMT

Can we have the following code added to Apache::ASP $Request object? 
This will allow you to add Cookie based user name logging to Apache's 
access log.

# Set a username (will end up in Apache access log)

# Get username registered so far
my $user = $Request->user();

The method subroutine of the $Request object would be something like:

sub user {
  my $user = shift;
  # $this->{r} is Apache request object
  $this->{r}->$Response->{r}->user($user) if (defined $user);
  return $this->{r}->$Response->{r}->user($user);


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message