Forum Discussion
Robert_47833
Feb 15, 2015Altostratus
cookie set in HTTP::respond 302 ,but I need to set expires as 7 days for this cookie
when HTTP_REQUEST {
set cookie [format "%s=%s; path=/;" cookeiname cookievalue]
HTTP::respond 302 Location "https://[HTTP::host]/xyz" "Set-Cookie" $cookie
}
I need to set this cooki...
- Feb 15, 2015
Try "Max-age=604800"
set cookie [format "%s=%s; Max-Age=604800; path=/; domain=%s" $ckname $ckvalue ".domain.org"]
kunjan_118660
Feb 15, 2015Cumulonimbus
Try "Max-age=604800"
set cookie [format "%s=%s; Max-Age=604800; path=/; domain=%s" $ckname $ckvalue ".domain.org"]
- Robert_47833Mar 04, 2015AltostratusIt works perfect you rock
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