WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

 
 
Themen-Optionen Ansicht
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
 


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 22:31 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag