Posted by Geoff Berrow on 06/18/06 17:21
Message-ID: <1150645209.331434.17340@f6g2000cwb.googlegroups.com> from
TristaSD contained the following:
>I tried to follow php.net manual to the best of my ability, but I'm
>getting two errors now:
>
>Warning: session_start(): Cannot send session cache limiter - headers
>already sent
>Warning: Cannot modify header information - headers already sent by
>
>All I want to do is create a login page that starts the session, and a
>logout page that destroys the session. I'm having a hell of a time.
Logout.php
<?php
session_start();
session_destroy();
header("Location: login.php");
exit;
?>
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|