/ Forside / Teknologi / Udvikling / PHP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
PHP
#NavnPoint
rfh 3959
natmaden 3372
poul_from 3310
funbreak 2700
stone47 2230
Jin2k 1960
Angband 1743
Bjerner 1249
refi 1185
10  Interkril.. 1146
Session object destruction failed
Fra : Christian Borchgrevi~


Dato : 19-04-02 09:58

Using PHP 4.1.2. on Windows NT 5.0 build 2195

I get a "Session object destruction failed" warning when running
this script:

<?

session_start();
session_unset();
session_destroy();

?>

Any comments?



 
 
Christian Joergensen (19-04-2002)
Kommentar
Fra : Christian Joergensen


Dato : 19-04-02 10:44

On Fri, 19 Apr 2002 10:58:01 +0200, Christian Borchgrevink-Lund wrote:

> session_unset();

I would try the follwing instead of that:

   unset($_SESSION);

--
Christian Jørgensen | Codito, Ergo Sum
http://www.razor.dk |

Christian Borchgrevi~ (19-04-2002)
Kommentar
Fra : Christian Borchgrevi~


Dato : 19-04-02 12:20

That didn't help. It seems like it is the session_destroy(); line it does
not accept.

My site is running on a win2000 server with PHP 4.1.2 . I have read that
this problem occured in an older version of PHP, but not this one. Any
clues?

Thanks

Christian

"Christian Joergensen" <mail@phpguru.dk> wrote in message
news:pan.2002.04.19.11.43.39.885164.982@phpguru.dk...
> On Fri, 19 Apr 2002 10:58:01 +0200, Christian Borchgrevink-Lund wrote:
>
> > session_unset();
>
> I would try the follwing instead of that:
>
> unset($_SESSION);
>
> --
> Christian Jørgensen | Codito, Ergo Sum
> http://www.razor.dk |



Søg
Reklame
Statistik
Spørgsmål : 177560
Tips : 31968
Nyheder : 719565
Indlæg : 6408952
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste