[PERL] Les headers HTTP : no-cache

Les headers HTTP : no-cache [PERL] - Programmation

Marsh Posté le 08-02-2002 à 15:36:33    

Je génère une page html avec un script PERL  
 
Je commence ma page par  
print "Content-Type: text/html;\nCache-Control: no-cache\nPragma: no-cache\nExpires: 0\n\n"
 
ce qui fait en clair :
Content-Type: text/html;
Cache-Control: no-cache
Pragma: no-cache
Expires: 0
 
 
Mais la page reste quand même dans le cache de l'explorateur quand je fais "back". Ca me c***e les c******s !
 
C'est quoi le trick à connaitre ??????????
 
Ah oui, le plus marrant c'est que ça marchait chez moi avec OmniHttp+activePerl+windows et là, ça foire sur OVH.
 
Thanx

 

[jfdsdjhfuetppo]--Message édité par Tetragrammaton IHVH--[/jfdsdjhfuetppo]


---------------
"Dieu a exploité tous nos complexes d'infériorité, en commençant par notre incapacité de croire à notre propre divinité." - Emil Michel Cioran
Reply

Marsh Posté le 08-02-2002 à 15:36:33   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed