+ 1

How to set timer on a different tab of browser using HTML

I need to know the feasibility where I have already designed web pages that were developed using dot Net framework but without a login page. Now, I've designed an html login page such that once you login it should open those dot net web pages in new tab but it should at the same time set a timer on that tab. And once that time reaches to end time or 0, the page should automatically be navigated to login page from net pages. Please note that I don't want to modify any code on dot net end or pages. Any suggestions to achieve this?

8th May 2019, 7:07 AM
Mohd Ashraf Shaikh
Mohd Ashraf Shaikh - avatar
2 Respuestas
+ 4
Well, sorry I didn't come with an answer the question, rather to confirm; what is the scenario that requires user to log in, be redirected to another page (which opens on new tab) only to be redirected again to login page (after a certain period of time). I'm missing the point of user login this way, as I understand it, user login once, and they won't be asked to login again unless they logout. Just curious about it, hope you don't mind explaining : )
10th May 2019, 10:14 PM
Ipang
+ 1
Okay, so the concern here is that the page that will be rendered after login is something that is developed in dot net framework with C# code. This dot net page will have some internal links and navigations to other internal pages. And I really don't want to update anything on these dot net pages like adding a button or setting a timer etc. But, it's just that I want to have a login page to make those dot net pages accessible. And possibly I can only think of having an iframe that will be capable of showing those dot net pages after successful login in the same window (same tab) . If the page is not in same tab but a new tab then their has to be a fixed timer to forcefully logout that user or close the new tab and navigate back to login page or just navigate to the login page.
11th May 2019, 12:19 AM
Mohd Ashraf Shaikh
Mohd Ashraf Shaikh - avatar