Question : how to count the number of browser tabs are opened for an application?

Hai,
  I had developed a web application in C#ASP.net 1.1.In my application there are several pages
 The user can login from different pages of my application.I had passed the username between the pages using session variables.
 My problem is, When the user opens my application in different tabs and the user got login in one tab of the browser and another tabs are remain in "YOU ARE SIGNED IN AS GUEST" and the user now clicks login page in that another tabs it shows like "YOU ARE ALREADY SIGNED IN"
  how to prevent this type of problem?
  Is it possible,to count the number of tabs are opened for my application in that browser?
Plz give me a solution to solve this problem.........

Answer : how to count the number of browser tabs are opened for an application?

Hai,
  Thanks for your reply
  I got my solution.I had passed the url string in that .js page like this  1st line
"var a=window.location.href;"  2nd line  "document.write('ent,2);return false onmouseout=hideToolTip()>Sign In');"

So Thanks for your reply........
Random Solutions  
 
programming4us programming4us