Forum Discussion
jeff_mccombs_47
Nimbostratus
Jun 10, 2009HTTP::cookie exists v.s. [string length[HTTP::cookie NAME]] ?
So I'm playing around with universal persistence, as we have a new project getting ready to roll out that is pretty heavy with ajax/dwr. I was thinking on using the universal persistence mode against ...
jeff_mccombs_47
Nimbostratus
Jun 13, 2009Well, as I mentioned I have a work around. I'm essentilly checking both;
if { ([HTTP::cookie exists JSESSIONID]) and ([string length[HTTP::cookie JSESSIONID]]) } {
persist uie add [HTTP::cookie JSESSIONID]
}
Without the "cookie exists" check, I was winding up with persistence records with blank keys! Yeech! (not sure how/why the system even allowed that to go into the table. I would assume it'd make a mess of things.. can persistence records collide I wonder?)
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