session_end()

From: Date: Sat, 23 Jun 2001 19:39:14 +0000
Subject: session_end()
Groups: php.db 
Request: Send a blank email to php-db+get-9776@lists.php.net to get a copy of this message
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

« previous php.db (#9776) next »