Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z sesjami na LINUX SLACKWARE
slammer
post
Post #1





Grupa: Zarejestrowani
Postów: 187
Pomógł: 6
Dołączył: 31.08.2005
Skąd: Bielsko-Biała

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


problem polega na tym że tworz np plik akcji
  1. <?php
  2.  
  3. $_SESSION['login'] = 1;
  4.  
  5. header("location: index.php");
  6. ?>

lecz gdy przejdzie na stronke index.php nagle jakims sposobem gubi sesje... po prostu jej nie widzi, jest bez wartości...

index.php
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <link rel="Stylesheet" href="style.css" type="text/css">
  3. </head>
  4. <frameset cols="15%,85%" border="0" frameborder="0" framespacing="0">
  5. <frame src="Menu.php" name="menu" scrolling="no" frameborder="0">
  6. Twoja przegladarka nie obsluguje ramek!
  7. <frame src="Strona.php" name="strona" scrolling="auto" frameborder="0" >
  8. </html>
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 20.08.2025 - 11:48