Hello everybody!
I have been working on this website that requires a kind
of messaging capability. It has to poll the database on
the server for new messages, and if there is any new
message, it has to display a notification on the client's
screen--something like the way outlook acts. My approach
was to have a hiddin window that would refresh itself
every minute, and everytime it refreshs itself, the code
within it gets executed and the rest is just simple
programming. Well, I wasn't able to create a hidden window
because i didn't know how to; I could only create a small
size window but not a hidden one.
So I dicided to create a hidden frame in the in the main
window, and that did the trick. However, if the user loads
a different url or hits back or does anything that loses
the main window, the process is halted, and no messages
will appear. This takes me back to the original idea--a
hidden window!
This website is for an intranet in the company for which i
work. Please advise!
Thank you!
.