Forum Discussion

Toni1's avatar
Icon for Nimbostratus rankNimbostratus
Oct 17, 2023

Scope and integrity of local variables

Hi there, I’m presently getting slightly confused about the scope of local variables and how much I can trust their integrity during evaluation even for the same event. My understanding is that the...
  • Paulius's avatar
    Oct 20, 2023

    Toni1 As long as it is considered part of the same client connection you should be fine for both of these. Again, I have never had an instance where a variable for one user was unintentionally used by a different user. When the iRule initiates for that users connection any variables should be set so I don't think you have to worry about responses not having the variable.