Forum Discussion
Stefan_126426
Nimbostratus
Jan 02, 2013Confusing ASP.NET session cookie rewriting with HttpOnly flag version 10
Hi Everyone, first post here so a little introduction.
I am a sysadmin/developer for a large insurance company and have just taken ownership of our F5 box. 12 Years IT experience so I can usuall...
Stefan_126426
Nimbostratus
Jan 03, 2013Ahhh, begining to see:
lindex 0 contains: cookiename=value;
lindex 1 contains: flags, i.e. "path=/; HttpOnly;" etc
Oh just found the TCL Reference on sourceforge, thats a big help. Curly braces are so the Irule does not interpret it as a command.
OK so for the format used in scan:
% specifies a conversion
[^chars] Substring is one or more characters not in chars
So {%[^=] Match anything up to the first = match
=% OK the % starts the next conversion, but I am confused by the =. Is it indicating "Match the first = then start the new conversion" after?
Then match on [^;] as the end of the conversion, these conversions are placed in the subsequent variables in order of matching. So unless the optional positional specifier is called.. Is it possible if there is no first match i.e. blah= is missing than this would mean that the second match would become the first and enter the first var?
This is what I get for being a Windows admin and C developer... sounds like I should have been learning TCL and lisp ;-)
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