Einzelnen Beitrag anzeigen
Alt 15.10.2001, 19:27   #1
SNo0py
Inventar
 
Registriert seit: 08.02.2000
Beiträge: 1.696


Probleme mit Cookies... (Perl)

Das folgende Problem hat mich schon zur Weissglut gebracht:
Code:
		# HTML-Header
		print qq~Content-type: text/html\n~;
		
		# Cookies
		print qq~Set-Cookie: huser=$cookies{'huser'}; path=/; expires=+$settings{'cookie_exp_huser'}d;\n~;	# 30 days
		print qq~Set-Cookie: hpwd=$cookies{'hpwd'}; path=/; expires=+$settings{'cookie_exp_hpwd'}m;\n~;		# 15 min
		print qq~\n~;
		
		# HTML-Head
		print qq~<html><head>... and so on...
$settings{'cookie_exp_huser'} und $settings{'cookie_exp_hpwd'} enthalten Werte (30 und 15);

Und er sprechert die Cookies nicht (ich hab im Cookie-File vom IE nachgeschaut - dort ist auch nix drinnen!)

Weiß wer, wo der Fehler liegt???
____________________________________
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
SNo0py ist offline   Mit Zitat antworten