GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   is it possible to set multiple cookies using one Set-Cookie: response header ? (https://gfy.com/showthread.php?t=1365212)

zawali 05-29-2023 01:12 AM

is it possible to set multiple cookies using one Set-Cookie: response header ?
 
Hello all
I wonder if it is possible to set multiple cookies using one Set-Cookie response header instead of using multiple Set-Cookie: directives (one Set-Cookie: per each cookie)

For example, when someone connects to a website and receives two cookies in response the response headers will be like this
Set-Cookie: cookiename1=value1
Set-Cookie: cookiename2=value2

I want something like this:
Set-Cookie: cookiename1=value1, cookiename2=value2
I heard that this is feasible and acceptable syntax but it does not seem to work on both chrome and firefox.

Any ideas or suggestions? Thanks in advance.

CurrentlySober 05-29-2023 04:29 AM

I know there's a very long and detailed thread about setting 'One Touch Cookies' that you can find here, if you search - I'm sure that would be of some help to you - Even if it isn't exactly what you are asking... :thumbsup

ZTT 05-29-2023 04:37 AM

First result, dude, come on...

https://stackoverflow.com/questions/...gle-set-cookie

plsureking 05-29-2023 05:32 AM

Quote:

Originally Posted by ZTT (Post 23138834)

:1orglaugh:1orglaugh :helpme

#


All times are GMT -7. The time now is 02:49 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc