IRULE to restrict a specific url after initiated first session
I need help to make an irule for a reason.
A and B both are clients. A is initiated a session from his device. A has an API result with some information with "xxx.com/api/info". After getting the result, the same result link is shared with B, and he is getting the same output. Here I need to restrict user B, if he gets the link, then the connection will drop.
I suspect it might work if I can detect the device ID and the session ID is mismatched after initiating the traffic.
Can anyone please provide me with a solution to this? It would be very helpful to me.
Thanks in advance.