Menu

#8 Problem with Session4

open
nobody
None
5
2001-09-21
2001-09-21
Anonymous
No

Problem:

- using latest auth4.inc
- reimport_vars() seemed to to work for us (get vars
were ignored)

Short Solution:

function reimport_any_vars($arrayname) {
global $$arrayname;
while( list( $key, $val ) = each( $$arrayname ) ) {
$GLOBALS[ $key ] = $val;
}
}

Discussion


Log in to post a comment.