inclusion of auto_init on new sessions
Brought to you by:
nhruby,
richardarcher
After executing $sess->delete() on some page an
recalling page_open(...), the auto_init file hadnt
included.
I changed the delete method to do so in session.inc:
function delete() {
$this->that->ac_delete($this->id, $this->name);
$this->in="";//this extra line
$this->put_id();
}
Logged In: YES
user_id=19736
What was the offending code that this problem arose? Did it
look like:
<?php
page_open(...);
something();
$sess->delete();
echo 'foo';
page_open();
?>
In that context I'm not sure if auto_init *should* be
re-executed.