Logo - MyWebsolution.de
User gesamt  :  2316993
User online  :  1
KubaSeoTräume, PHP Forum, PHP Community and more ... MyWebsolution.de!
   
   
 
Registrieren Login User F.A.Q Suche Home

eingeloggt bleiben

MyWebsolution.de Foren » Workshops » LogIn-Script - Session Cookie kann nicht gesendet werden

Seite: 1 Posts pro Seite: 5 10 20
Autor Thread
14.08.2009 11:37 Uhr LogIn-Script - Session Cookie kann nicht gesendet werden
Tobias
User
 
registriert 14.08.2009
wohnt in
Beiträge 1
Hallo zusammen

ich arbeite gerade das Login-Script durch ... und auf meiner XAMPP-Installation lokal kann das Session-Cookie nicht gesendet/verarbeitet werden


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Programme\xampp\htdocs\test\register.php:1) in C:\Programme\xampp\htdocs\test\register.php on line 12

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Programme\xampp\htdocs\webshop\register.php:1) in C:\Programme\xampp\htdocs\test\register.php on line 12


Zeile 12: session_start();


Woran kann dies liegen?

Gruß Tobias

Dieser Beitrag wurde am 17.08.2009 um 08:51:10 Uhr von Tobias zum 1. Mal editiert.
Profil ansehen
19.08.2009 22:21 Uhr
Flitze
Administrator
registriert 17.10.2006
wohnt in Eschwege
Beiträge 332
Du gibst vorher was aus nehm ich an..
lies mal die anderen Threads dazu, ist eigentlich immer das gleiche Problem


Profil ansehen Mail senden
20.08.2009 16:39 Uhr
Crasher
User
 
registriert 28.03.2009
wohnt in
Beiträge 2
Zeile 12: session_start(); <= ist falsch

session_start(); muss immer in der ersten Zeile stehen. Dann erst darf der Header gesendet werden. Richtig wäre also:

Code:
<?php
session_start(); // Erst die Session starten
// Dann das restliche Zeugs wie Header usw.
include('./header.php');
.
.
echo 'Deine restlichen Sachen usw.';
.
.
?>
Profil ansehen
22.12.2011 03:13 Uhr
daxili
Forenposter
 
registriert 21.12.2011
wohnt in
Beiträge 50
In space of the CAR, Beaver space to take advantage of the residual to build a U statistic, through which U equals e2 / &#963;2 (residual squared / residual variance from believed market space model). For his sample, U was 1.6, indicating notably greater offering price measures for the time-span of the 1 week because of this profits announcement, once again indicating share offering price reacting to accounting earnings.moncler boots women
moncler boots men
moncler boots on sale
moncler jackets men sale
moncler jackets men cheap
Profil ansehen
Seite: 1 no reply
Powered by Pascal Landau © 2006 MyWebsolution.de
Designed by Pascal Landau © 2006 MyWebsolution.de
 
 
 
 
Home Email Impressum Disclaimer Statistik