Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-29-2023, 01:12 AM   #1
zawali
Confirmed User
 
zawali's Avatar
 
Industry Role:
Join Date: Nov 2022
Posts: 357
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.
zawali is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2023, 04:29 AM   #2
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 37,950
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...
CurrentlySober is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2023, 04:37 AM   #3
ZTT
Confirmed User
 
ZTT's Avatar
 
Industry Role:
Join Date: Apr 2019
Posts: 657
First result, dude, come on...

https://stackoverflow.com/questions/...gle-set-cookie
__________________
__________________
ZTT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-29-2023, 05:32 AM   #4
plsureking
bored
 
plsureking's Avatar
 
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
Quote:
Originally Posted by ZTT View Post


#
plsureking is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
set-cookie, response, multiple, cookies, cookiename2=value2, set, header, cookiename1=value1, feasible, acceptable, syntax, heard, chrome, ideas, suggestions, advance, firefox, receives, directives, cookie, headers, website, connects



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.