[eluser]saidai jagan[/eluser]
I just want to redirect any thing if the request is came by ajax.
so i used this
if($CI->input->server('HTTP_X_REQUESTED_WITH') == 'XMLHttpRequest')
{
header("Login-Status: relogin");
exit;
}
But it is not working.
any suggestions pls.
Thanks.