Helpful Information
 
 
Category: Java
cookie remembering language choice

Hey,
On lots of sites, at your first visit, you have to chose your language. That information is stored in/by a cookie, so the next time you visit that site, you are immediately forwarded to the language you choose.

How does such a cookie look like ?

DD, why has this been moved ? To where ?

Okay, found it back. Sorry !

Any suggestions ?

Hmm.. I must've posted while this was being moved. I said something along the lines of:

PHP is probably the easiest way to do this:

to set a cookie

setcookie(cookiename,content,time()+3600);
to retrieve cookie data

$myvar = $_COOKIE[cookiename];










privacy (GDPR)