Well, you can do through JavaScript and another aspx page.
What you need to do is, make XMLHTTP call to the other aspx page, and in the
aspx page, simply make a simple output.
If the session exists, do Response.Write("OK"); and if it does not exist do
Response.Write("NOTOK");
Also note that, you should not have any HTML on this aspx page, like no form
no body but
<%@ Page language="c#" Codebehind="
I think this will solve your problem.