Mattias_Holmber
Dec 09, 2008Nimbostratus
How do I get username from a POST
I have an irule that I want to do some debugging with.
So, basically I just want to write out the POST variable "username" to log.
rule get_user_id {
when HTTP_REQUEST {
if { [HTTP::uri] contains "login" } {
set username [HTTP::username]
log "username: $username"
}
}
}
what do I need more, can find much about it in the forum.
Br, Mattias