Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

[PHP-DB] session_end() From: Chadwick Rolfs (c2304182 <email protected>)
Date: 06/23/01

dear list

I have attempted to use session end to no avail. I have a
self-referencing form with a button, that when checked and sent, calls
session_end(). I get a " call to undefined function" error.
Does there need to be something compiled into the php module? Everything
else seems to work with sessions, so I don't know why session_end()
wouldn't work.
its PHP Version 4.0.3pl1 on a cobalt raq4 server.
code snippet..(the code seems to work, but I get that above error.)

      1 <?php
      2 if (isset($HTTP_POST_VARS[ends])){
      3 session_end();
      4 }

      ......

     16 <form action="<?php echo $PHP_SELF ?>" method="post"
enctype="multipart/form-data">

     ........

     21 <input type="radio" name="ends" value="ends">
     22 End Session
     23 <br>
     24 <input type="submit">
     25 </form>

#2 about the session documentation...

it sure is hard to find examples or explanations about garbage collection.
I found a post about session_set_save_handler on php.net for php and
postgresql, but still don't quite get it. Maybe give me a little time...
Aren't there php/postgreSQL lists? Anyone know of any? I was on the
postgreSQL list, but the 'gurus' there just said 'rtfm' at php.net!!! I
am! If someone could help with sessions and Postgresql... Thanks

Regards

Chadwick Rolfs

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>