Forum Discussion
Jeff_Brinkerho1
Nimbostratus
Jun 15, 2015How do I post "code" on here, I cant seem to find the correct way....
when HTTP_REQUEST {
Check to be sure the cookie in question exists.
if { [info exists [HTTP::cookie PS_TOKEN]] } {
Now check to see if the domain is .syr.edu
set cookieDomain [HTTP::cookie domain "PS_TOKEN"]
if { $cookieDomain == ".syr.edu" } {
if so, delete the cookies
HTTP::cookie remove PS_TOKEN
HTTP::cookie remove PS_TOKENEXPIRE
HTTP::cookie remove PS_LOGINLIST
HTTP::cookie remove ExpirePage
HTTP::cookie remove SignOnDefault
HTTP::cookie remove pgltHPReload
}
}
HTTP::redirect https://ptl9unit.ps.syr.edu[HTTP::uri]
}