Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » client server comunication
client server comunication [message #76524] Tue, 22 October 2002 02:50 Go to next message
Marta
Messages: 2
Registered: February 2002
Junior Member
Is it possible for a server to notify the client of some changes in pages he is interested in, without the client must continuously ask for this pages?
Re: client server comunication [message #76525 is a reply to message #76524] Wed, 23 October 2002 12:23 Go to previous message
rene
Messages: 7
Registered: October 2002
Junior Member
I don't think you can notify the client from the server to open a certain page. However you can:
1) If you are not sure whether the user is online just send emails from the database (using utl_smtp built-in package). The emails contain the urls which reflect the changes. Just like ebay with their dailystatus emails.
2) If you know that the user is online you could make a periodical refresh of the page (I would not recommend this on pages which contain forms otherwise you will get some pretty upset users). Add the following tag on top of the http page.

(meta http-equiv="refresh" Content="{refreshTimeInSeconds}; URL={URL}")

Replace the ( with a "greater than" and the ) with a "smaller than".
Previous Topic: passing parameters from javascript to package
Next Topic: Error: The portlet could not be contacted.
Goto Forum:
  


Current Time: Thu Apr 18 18:21:55 CDT 2024