Forum Discussion
Search for a certain string or value in a session variable, modify it, and create a new session variable
I am so sorry I turned out to be on of those people I hate. I asked a question, figured it out, but didn't update the web source to help others....
I ended going with the following code:
expr { [lindex [regexp -inline {.*-(.*)-Extranet-ExternalAccess.*} [mcget session.ad.last.attr.memberOf]] 1] }
and this fixed my needs. thanks for the help!
totally no worries, i had some fun while trying to come up with a solution. yours is way more elegant. although i have always learned to be careful with regexp in such cases due to load. is this working in a high usage environment or pretty small usergroup.
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