Forum Discussion
iRule https POST parameter catch and data verification
Hello DevCentral community,
I have a big question for you regarding an iRule implementation, i'll try to explain it below :
My Virtual Server receives HTTP POST DATA, i need to catch from the POST DATA some parameters like user,pwd,token, regarding this, Can i store them in a temporary table? i must verify the token validity from return traffic of the authentication process ( can i capture it and store it in a temporary table ? in order to re-use it in the evaluation process ) In order to avoid a generation of a specific request that evaluate the token validity querying the auth server.
I hope i was clear enough,
Thanks in advance,
Best Regards,
M.
6 Replies
- nitass
Employee
i need to catch from the POST DATA some parameters like user,pwd,token
you can extract it using HTTP::collect or stream profile.
HTTP::collect
https://devcentral.f5.com/wiki/iRules.HTTP__collect.ashxstream
https://devcentral.f5.com/wiki/iRules.STREAM.ashxCan i store them in a temporary table?
yes you can store it using table command.
v10.1 - The table Command by spark
https://devcentral.f5.com/articles/v101-the-table-command-the-basics- MDPF52_180608
Nimbostratus
Thanks for your reply, but what is the difference between table and session ? - nitass
Employee
table is a newer command.
- nitass_89166
Noctilucent
i need to catch from the POST DATA some parameters like user,pwd,token
you can extract it using HTTP::collect or stream profile.
HTTP::collect
https://devcentral.f5.com/wiki/iRules.HTTP__collect.ashxstream
https://devcentral.f5.com/wiki/iRules.STREAM.ashxCan i store them in a temporary table?
yes you can store it using table command.
v10.1 - The table Command by spark
https://devcentral.f5.com/articles/v101-the-table-command-the-basics- MDPF52_180608
Nimbostratus
Thanks for your reply, but what is the difference between table and session ? - nitass_89166
Noctilucent
table is a newer command.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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