|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to send a message from Oracle to all application users logged in the Forms application? [message #267683 is a reply to message #267118] |
Fri, 14 September 2007 04:26 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bahubcd
Messages: 40 Registered: July 2007 Location: Bangalore
|
Member |
|
|
Hi,
I have an idea. Not sure whether it will help you or no.
I am assuming that all the users are accessing the same application through a single link.
As far as i know when a user logs to a forms application, the link or url will mention the primary form's name which will be the form after you log in. From that form you can navigate to all the other forms. This is as per my knowledge in my working area Oracle Retail package(Retek).
So what i suggest is, create a admin table which has MSG_ID,Date_Time,MESSAGE as 3 columns. And DBA can enter the message row in this table through PL/SQL or via another form.
Now edit the Primary form (discussed above)
Create a timer with your interest of time period. Write a trigger on form level. When timer expired. In that trigger try and query the data from the admin table with the present time as input. If the query returns any row then display the message column in that row as emessage('your message from the 3rd column of the table'). I think it will pop up even if you are navigating working on some other child form. And again reset/restart the timer.
In the maintenance activities when DBA wants the users to log off from the application, these kind of messages will be v.useful to inform users to save data and exit within 10 mins as the application or db is getting rebooted.
But it will be an overhead on forms server to keep an eye on the timer.
Please inform about your progress if you feel this method can be feasible. I still think that you have to work on where abouts of the timer and its use.
|
|
|
|
|
|