- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
"Timeout expired, please login again. Window will be closed" message when trying to access GS724TP.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I use a GS724TP switch for my home network which has 17 devices connected. To easy up network management I created a HTML page with a clickable map with a link to all my devices in it. When I click a link a new browser window pops up with the management page of the device. It works for all the devices except for the switch. It opens a windows saying "Timeout expired, please login again. Window will be closed". When I click OK the window closes.
The java script function to open the window is as follows:
<script> function viewpage(page, X, Y, scroll) { attribs="top=20,left=20,width=" + X + ",height=" + Y + ",scrollbars"; if (scroll == "N") attribs="top=20,left=20,width=" + X + ",height=" + Y; var bannerwindow=window.open(page, "_blank", attribs) }; </script>
The link is specified as follows:
href="JavaScript: viewpage('http://switch-lan',1280,800,'Y');"
The window below opens and I can only click OK.
When I copy the link directly in the address field of my browser everything is fine. Could not find any setting concerning login time-outs in the management page of the switch. Also tried with other browsers, same result. Anyone has any hints where to look? Could it be a referrer check?
Thanks in advance,
Erik
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The switch UI likely include javascript code that prevent it from loading in another window and likely results in the execution of login output. Just for test try to change the link to html on your source page instead of javascript window loading function being injected and see if that makes a difference
<a href="http://switch-lan" target="_blank">http://switch-lan</a>
and see what happens. Or if you wish to debug if referrer is the issue you can do the test in chrome while using the inspector to watch the function Or you can likely check if the switch has Javascript function to block you by doing a inspector on the switch UI page and check for JavaScript function on loading session
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The switch UI likely include javascript code that prevent it from loading in another window and likely results in the execution of login output. Just for test try to change the link to html on your source page instead of javascript window loading function being injected and see if that makes a difference
<a href="http://switch-lan" target="_blank">http://switch-lan</a>
and see what happens. Or if you wish to debug if referrer is the issue you can do the test in chrome while using the inspector to watch the function Or you can likely check if the switch has Javascript function to block you by doing a inspector on the switch UI page and check for JavaScript function on loading session
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: "Timeout expired, please login again. Window will be closed" message when trying to ac
Thanks for your answers.
I have changed my code to:
<area id="switch-lan" alt="LAN Switch (Netgear GS724TP)" title="LAN Switch (Netgear GS724TP)" href="http://switch-lan/config/authentication_page.htm" shape="rect" coords="5,557,729,587" style="outline:none;" target="_blank" />
to avoid opening the management page of my switch by the open.window javascript.
The results are still the same. A new tab is opened and the message "Timeout expired, please login again. Window will be closed" appears and I can only close the tab. Also tried "http://switch-lan/" in stead of "http://switch-lan/config/authentication_page.htm". It only opens the login page when I copy one of these links directly in an empty tab of my browser.
Can it be referrer check? I did found the inspector function in Chrome, but I am not sure how to recognise a referrer check. Also tried to disable Ghostery and ABP to see if these add-ons play a role in this problem. But no success.
Erik