ASP.Net: multi-browser action

Background: I have an ASP.Net C # application for passing computer examination exams. Students take the exam while the instructor monitors their progress in their own browser. The instructor page displays a table of all students who still passed the exam, and any possible security problems found in JavaScript in the browser. Security breaches and the completion of the exam trigger a message on the exam page. Currently, the instructor must click a button to see the changes.

Additional Information: Student browsers have their own session information independent of instructor session information. For the server to write new data to the instructor’s browser, ASP.Net must use the session information for the instructor. I tried to save all the headers and cookies on the instructor page and then translate the student page using the headers and cookies. Although the redirect from the student page loads the instructor page using the saved state, the instructor page does not start in the saved session for this page, so there is no access to the client’s browser.

Bottom Line: I want an event in one browser to cause a page refresh in another browser. Two ASP.Net pages can be coordinated in the code in any way necessary.

I think I need to simulate the update request from the instructor page, including session information, and do a redirection on the server. However, my searches did not give good clues. Has anyone ever tried this?

Note. This system is available to others who may want to try. Grading emphasizes the syntax of the language and can run HTML and Java programs.

+4
source share
2 answers

You need to see SignalR .

- -, , , ( 5 ):

<meta http-equiv="refresh" content="5">
+1

(, , , ), SignalR. ( Facebook). :

  • HUB, ( ).
  • , , HUB .
  • HUB .

- - setInterval/AJAX . SignalR ( ).

+1

All Articles