Hi,
How can I check if instance of java object as java session variable exists.
I have tried something like this:
$session=java_session();
$d2rqF=$session->get("d2rq");
if(!$d2rqF)
{
$message=" d2rqFact does not exists";
print_test_string($message, $table, $id);
}else{
$message="d2rqFact already exists";
print_test_string($message, $table, $id);
}
But, I'm always get message "d2rqFact already exists" even if this variable is never created.
d2rq is an instance of Java object and I want to check if it is already created. If yes I will use it otherwise I will create it.
Thanks,
Zoran
---------------------------------
Never miss a thing. Make Yahoo your homepage.
|