Forum Discussion
zafer
Apr 26, 2008Nimbostratus
uie persistence
Hello
if the client has cookie and if client changes dynamicly ip address, i want persist this client
and if the client does not accept persistence or does not have cookie i want persist some parameter in uri
i try this solution but it didnt work
http://devcentral.f5.com/wiki/default.aspx/iRules/Weblogic_JSessionID_Persistence.html
what will be logic flow
if the client has cookie and if he changes ip address persist it
else
if the client does not have cookie or does not accept cookie, persist it' sessionid
http://somedomain.com/some/path?jsessionid=MYSESSIONID&someotherparam=FOOBAR
Could you please help me anybody
regards
zafer
- zaferNimbostratusAaron,
- hooleylistCirrostratusYou can parse the jsessionid from a header using HTTP::header value Referer. You'd want to parse the jsession id using 'jsess [findstr [HTTP::header value Referer] "jsessionid" 11 ";"]'. You could then compare that with the value of the jessionid cookie 'HTTP::cookie value jsessionid'. If it doesn't match, you could send a redirect, drop the request or take some other action.
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