How to detect multiple windows or tabs for same webapplication? [Resolved]

Posted by Hariinakoti under ASP.NET on 12/11/2012 | Points: 10 | Views : 8265 | Status : [Member] | Replies : 1
Hi All,
How can I detect multiple windows or tabs for some web application?
If i open same web application in one tab, i want to restrict site from opening in another tab.

Thanks & Regards
Hari



Responses

Posted by: Hariinakoti on: 12/13/2012 [Member] Starter | Points: 25

Up
0
Down

Resolved
Hi All,
Finally i got solution.The Solution is
Public Sub TheSessionId()
Dim ss As HttpSessionState = HttpContext.Current.Session
If Not HttpContext.Current.Session("id") Is Nothing Then
HttpContext.Current.Response.Redirect("InvalidAccess.aspx")
Else
HttpContext.Current.Session("id") = ss.SessionID
End If
End Sub

Thanks & Regards
Hari

Hariinakoti, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response