You are here: Re: Session termination issue « PHP Programming Language « IT news, forums, messages
Re: Session termination issue

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация