mauzer
11/17/2023, 12:06 PMAdam Cameron
302 is what <cflocation> does.Adam Cameron
Adam Cameron
mauzer
11/17/2023, 12:09 PMAdam Cameron
<cflocation> will send a status code (as above) and a Location header with a URL to redirect to. The browser will then... relocate to that URL.
What URL is being sent to the browser? I suspect the problem is more "your code's logic is not giving <cflocation> the correct URL, for... [reasons]"mauzer
11/17/2023, 12:13 PMAdam Cameron
Adam Cameron
Adam Cameron
mauzer
11/17/2023, 12:14 PMAdam Cameron
mauzer
11/17/2023, 12:15 PMdswitzer
11/17/2023, 12:16 PMAdam Cameron
<cflocation> and browser are doing exactly what they're supposed to, but it's that the code is giving <cflocation> the wrong URLAdam Cameron
addtoken changed ages ago. Like CF9 or something (don't quote me on that, but it was way back when I was still doing CF)Adam Cameron
Adam Cameron
New in ColdFusion 11: If Secure Profile is enabled, addToken's default value will be false.Still... don't think it'll contribute either way here
Adam Cameron
dswitzer
11/17/2023, 12:17 PMdswitzer
11/17/2023, 12:18 PMAdam Cameron
mauzer
11/17/2023, 12:18 PMAdam Cameron
addtoken option..?dswitzer
11/17/2023, 12:19 PMAdam Cameron
mauzer
11/17/2023, 12:20 PMAdam Cameron
mauzer
11/17/2023, 12:20 PMAdam Cameron
mauzer
11/17/2023, 12:21 PMAdam Cameron
aliaspooryorik
.<http://mydomain.com|mydomain.com> or <http://x.mydomain.com|x.mydomain.com>?aliaspooryorik
mauzer
11/17/2023, 12:28 PMaliaspooryorik
this.sessioncookie.samesite = "Lax";
this.authcookie.samesite = "Lax";