Forum Discussion
omatzura
16 years agoSuper Contributor
Hi,
well, easiest is maybe to just trim the Set-Cookie string after the expires value;
def value = messageExchange.responseHeaders["Set-Cookie"]
value = value.substring( 0, value.indexOf( "; Expires=" ))
...
(this will of course also remove the "; Expires=" part of the header..)
would that work?
regards,
/Ole
eviware.com
well, easiest is maybe to just trim the Set-Cookie string after the expires value;
def value = messageExchange.responseHeaders["Set-Cookie"]
value = value.substring( 0, value.indexOf( "; Expires=" ))
...
(this will of course also remove the "; Expires=" part of the header..)
would that work?
regards,
/Ole
eviware.com
Related Content
- 8 years agorvteja1990
- 8 years agomgroen2
Recent Discussions
- 22 hours agoKLWallace
- 7 days agoruchisingh