Forum Discussion
THASIN
Nimbostratus
May 02, 2012JSESSIONID to maintain session persistence
Hi All, When using iRule from https://devcentral.f5.com/wiki/iRul...tence.ashx to maintain JSESSIONID, session are not maintained when load increases. Mostly this happens when ...
Chris,
I think URI::protocol will only parse the protocol from a full URL that already has the protocol listed. I could imagine it being useful for parsing fully qualified URLs in requests through a web proxy. However, if the client didn't include the protocol in the URI, I expect URI::protocol wouldn't return anything:
when RULE_INIT {
log local0. "\[URI::protocol /path/to/file.ext\]: [URI::protocol /path/to/file.ext]"
log local0. "\[URI::protocol https://www.example.com/path/to/file.ext\]: [URI::protocol https://www.example.com/path/to/file.ext]"
}
: [URI::protocol /path/to/file.ext]:
: [URI::protocol https://www.example.com/path/to/file.ext]: https
Aaron