Forum Discussion
Erika_I_Garner
Altostratus
Oct 13, 2017parse username
I am trying to get only the UserID with the following iRule, but I end up getting it and also the password and I only want the UserID. Can someone help me, this is driving me crazy!
when HTTP_REQUE...
Stanislas_Piro2
Cumulonimbus
Oct 16, 2017Hi,
you can use following code:
when HTTP_REQUEST_DATA {
set UserID [URI::query "?[HTTP::payload]" "UserID"]
log local0. "User $UserID attempted login from [IP::client_addr] and referer: [HTTP::header "Referer"]"
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects