Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Jeszcze sesje, Dziwne zachowanie strony logowania
sada
post
Post #1





Grupa: Zarejestrowani
Postów: 302
Pomógł: 24
Dołączył: 6.12.2008

Ostrzeżenie: (0%)
-----


Witam!

mam problem:

strona logowania wywołana przez ścieżkę dostępu http://....... działa super bez zarzutu, a po rewrite wywala błędy jak niżej:

Warning: session_start() [function.session-start]: open(/tmp/sess_7dc51faa29feb866d2f9bf60ea1902b7, O_RDWR) failed: No such file or directory (2) in /logowanie.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /logowanie.php:2) in /logowanie.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /logowanie.php:2) in /logowanie.php on line 2

początek strony logowania wygląda tak:


Kod
<?php require_once('connections/aaa.php');if (!isset($_SESSION)){session_start();}
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($_GET['accesscheck'])) {
  $_SESSION['PrevUrl'] = $_GET['accesscheck'];
}


Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 24.12.2025 - 10:20