I was going through an Asp.net project file.
In that they are navigating to a htm page when session got expired or session variable is null or empty like this
if (Session["UserID"] == null)
if(window.parent.length > 0)
My doubt is that what is window.parent.length
means and sometimes document.URLUnencoded reurns Nan, what is the meaning of that one?.
And if i open this website in two browser tabs and logout from one tab,and i clicked on any page on the second tab, instead of navigating to Expired.htm it is showing error message
> The resource cannot be found.
> Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /website1/folder1/undefined
how undefined came??
Note: Iframes are used.
Anyone Pls explain this....