|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Hi there,
I have two things I need some advise on, please read on: 1). I am planning to develop a web site, which require the viewers to update certain pages each time they access my site. This due to that some of the pages have data displayed, however in order to view the latest data available the viewers needs to refresh (F5) the page(s). Can I somehow create a code which refresh the page automatically? 2). I also want to develop a search engine, where viewers can enter some words in a field and thereafter hit 'enter'. A result is then to be displayed on my web site. The search engine is for internal search of my owm web pages, not the world wide web.How is that done? Is it server-based solution? Comments and advise would be appreciated. Also if you have any tutorials to refer to... Thanks in advance... Henry ![]() |
|
#2
|
|||
|
|||
|
Firstly your first problem is fairly simple
use <meta http-equiv="refresh" content="43;URL=url.html"> change the time "43" to the seconds and the url. then it will refresh to url.html after 43 seconds. In regards to your second problem, we have an article on creating a search engine here at devarticles URL |
|
#3
|
|||
|
|||
|
Hi Ben,
Thanks for your great help, you seem to be able to answer all my questions Just wondering - if I insert the META TAG you specified, is it then also possible to create a message saying for example ' your page has been automatically updated, all data on this web page is the latest info we could finf' (or something like that?). I would image it could be done so that the viewer could click an 'okay' button on a pop-up message??? How would you suggest this to be done, perhaps in DW? Henry |
|
#4
|
|||
|
|||
|
META TAG(S)
Hi Ben,
Just to let you know - I tested the TAG, it works fine, except it keeps refreshing every 43 seconds. What I was after was a refresh option that would only happen once. So, for example when a viewer has accessed my web page it automatically refreshes after 5 seconds - but only once (no repeats). Have you got an idea how to do this? Cheers, Henry |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Advise and tutorials needed: |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|