Re[2]: [phplib] session From: Max A. Derkachev (kot <email protected>)
Date: 01/05/01

Hello abdel,

Friday, January 05, 2001, 2:38:00 PM, you wrote:

> i use $sess->>purl()

Then something is screwed up. Check every link for session id
presence. Check every page for page_close() call.

Check this code on your server:
<?php
page_open( array ("sess" => "Your_session_class_name"));
if (!$sess->is_registered('a')) {
  $a = 1;
  $sess->register('a');
}
print $sess->id . "<br>\n";
print "$a<br>\n";
$a++;
page_close();
?>

Reload the page several times. Does the session id changes? Does the
number being incremented?

If this not ok, then maybe something is wrong with the database where
you store session data - either session could not write the data, or
could not read it. Check your setup then.

-- 
Best regards,
Max A. Derkachev mailto:kot <email protected>
Symbol-Plus Publishing Ltd.
phone: +7 (812) 324-53-53
http://www.Books.Ru -- All Books of Russia
 

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>