hi all,
In my developing environment, the php.ini consists:
register_global = on
session.auto_start=1
but my host site does not offer this. So if I change the setting to default in Php.ini, my session variables are not working, Anybody know how to resolve this or how to work on session variable when
register_global = 0ff
session.auot_start=0
I am storing the value in the variable like following
session_start();
$employer=$jobrs[0];
session_register("employer");
header("Location: RecruitersAdmin.php?refno=$jobrs[1]");
where jobrs is the result set i am using..when the page is redirected and when i am trying to print the variable $employer it says the variable is undefined..but that was not the case when the register_globals = on and session.auto_start = 1;
your help would be really appreciated.
thanks,