Bon, finalement, je nage un peu.
Je cr�� le cookie, donc:
var machin = cocoon.response.createCookie("myotis",generateCookie());
J'ai un beau cookie, mais je voudrais changer le maxAge. Comment je fais? J'ai essay� machin.setMaxAge(1), �a ne fonctionne pas. Quelqu'un saurait �a? -- Aur�lien
D�cid�ment, je vais en faire une habitude:
var machin = cocoon.response.createCookie("myotis",generateCookie()); machin.maxAge = 365*24*60*60; machin.path = "/";
etc. etc.
-- Aur�lien
signature.asc
Description: OpenPGP digital signature
