$HTTP_SESSION_VARS not working
what might be the problem i have a code like this
$ses_id=$HTTP_GET_VARS['ID'];
if($HTTP_SESSION_VARS['ses_id']){
if($HTTP_SESSION_VARS['ses_id']!=$HTTP_GET_VARS['ID']){
session_unregister('ses_id');
session_register('ses_id');
$update=mysql_query("update opinion set view=view+1 where ID='".$HTTP_GET_VARS['ID']."'");
}
}
else{
session_register('ses_id');
$update=mysql_query("update opinion set view=view+1 where ID='".$HTTP_GET_VARS['ID']."'");
}