Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



 328

Change the lifetime of a cookie

by charly555 - 13 June, 2024 - 05:10 PM
This post is by a banned member (charly555) - Unhide
charly555  
Registered
484
Posts
11
Threads
1 Year of service
#1
Hello,

I would like to know if it is possible to change the lifespan of a cookie that is on my browser
Its lifespan is 30 minutes and I would like this cookie to last 10 hours

Is this technically possible and how can I do it?

Thank you
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.559
Posts
375
Threads
4 Years of service
#2
You can edit a cookie used by your browser, but it doesn't mean the altered cookie will work with the site. Most of the time, things like session id's and their expiry date/time are kept and validated server side.

Easiest way to change the values is w/ a browser plugin like Cookie-Editor or EditThisCookie.
This post is by a banned member (charly555) - Unhide
charly555  
Registered
484
Posts
11
Threads
1 Year of service
#3
(13 June, 2024 - 05:10 PM)charly555 Wrote: Show More
Hello,

I would like to know if it is possible to change the lifespan of a cookie that is on my browser
Its lifespan is 30 minutes and I would like this cookie to last 10 hours

Is this technically possible and how can I do it?

Thank you

I tried cookie editor but I don't know if it works
Is there a way to check if the changes worked ?
For example if I change the language "to GB", nothing changes on the website page. And if I refresh the page, it automatically puts me back to the initial language
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.559
Posts
375
Threads
4 Years of service
#4
(14 June, 2024 - 04:17 PM)charly555 Wrote: Show More
I tried cookie editor but I don't know if it works
Is there a way to check if the changes worked ?
For example if I change the language "to GB", nothing changes on the website page. And if I refresh the page, it automatically puts me back to the initial language

Dude, we don't even know what website you are referring to. The cookie could be getting set on page load. "GB" might not be a valid language code on the site. Could be who the fuck knows.

The Netflix home page reads off a locale cookie. If you change that to another language, then manually go to netflix.com it should load the language you specified in the cookie. Valid languages codes are "fr-FR", "fr-CA", "en-GB", "en-US", "de-DE", etc.
This post is by a banned member (TopliJastuk) - Unhide
419
Posts
51
Threads
1 Year of service
#5
(14 June, 2024 - 05:25 PM)UberFuck Wrote: Show More
(14 June, 2024 - 04:17 PM)charly555 Wrote: Show More
I tried cookie editor but I don't know if it works
Is there a way to check if the changes worked ?
For example if I change the language "to GB", nothing changes on the website page. And if I refresh the page, it automatically puts me back to the initial language

Dude, we don't even know what website you are referring to. The cookie could be getting set on page load. "GB" might not be a valid language code on the site. Could be who the fuck knows.

The Netflix home page reads off a locale cookie. If you change that to another language, then manually go to netflix.com it should load the language you specified in the cookie. Valid languages codes are "fr-FR", "fr-CA", "en-GB", "en-US", "de-DE", etc.

Thanks
Affordable Account Upgrades
https://topli.mysellix.io/
[Image: mugkZmo.gif]
This post is by a banned member (UberFuck) - Unhide
UberFuck  
Godlike
1.559
Posts
375
Threads
4 Years of service
#6
(15 June, 2024 - 02:13 AM)TopliJastuk Wrote: Show More
(14 June, 2024 - 05:25 PM)UberFuck Wrote: Show More
(14 June, 2024 - 04:17 PM)charly555 Wrote: Show More
I tried cookie editor but I don't know if it works
Is there a way to check if the changes worked ?
For example if I change the language "to GB", nothing changes on the website page. And if I refresh the page, it automatically puts me back to the initial language

Dude, we don't even know what website you are referring to. The cookie could be getting set on page load. "GB" might not be a valid language code on the site. Could be who the fuck knows.

The Netflix home page reads off a locale cookie. If you change that to another language, then manually go to netflix.com it should load the language you specified in the cookie. Valid languages codes are "fr-FR", "fr-CA", "en-GB", "en-US", "de-DE", etc.

Thanks

[Image: dead.png]
@TopliJastuk [Image: kiss.gif]

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 3 Guest(s)