Server Initiated Screen Refresh

maxmagnus

New Member
While I'm asking dumb questions, here is another one. <BR><BR>I need to play display stock quote type information on a page. The information is constantly changing. I need to be able to update the information on the client without reloading the whole page.<BR><BR>Is it possible to keep the connection open with the client? Is it possible to initiate a client refresh from the server? Can I do an update without updating the entire page?<BR><BR>How can I do this? Please help!<BR><BR>Thanks!<BR><BR>Anthony>I need to be able to update the information on the client without reloading the whole page.<BR><BR>Is using a top frame an option? Then you could use a meta refresh tag on the top frame only.<BR>Great idea but frames are not an option. This option is also client based. I have thought about using an IFRAME. However, the changes to the data are really events. I would prefer to be able to respond to the events on the server and only update the data on the client that has changed rather than the whole page.The best wasy I can see to do this is do some DHTML on the client.<BR>you can write some javascript to make a xml request, and display the info between some <div> tags. You can also create a timer so the javascript fires periodically<BR><BR>So what you're saying is that there is no way to force it server side and that the update request needs to come from the client. I like the potential XML solution. Please tell me more.In the SDK documentation, there is reference to server-based timer controls ("Introduction to Server-based Timers"). This control functions much like a traditional VB timer in that it fires an event each time the interval value has elapsed.<BR><BR>You must add: <%@ Import NameSpace="System.Timers" %> to your<BR>code to access the timer member.<BR><BR>This may provide the event you are needing to update your data a regular intervals.<BR><BR>Good Luck,<BR><BR>Tom T<BR>
 
Back
Top