473,657 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HOWTO: display database without refresh web page to query database

SS
Hi,

I don't want to refresh a web page to query and display database.
I want the page shows information immediately when database changes.
What kind of technology or method would be able to perform this action?

Sean
Nov 19 '05 #1
3 2988
Osmosis ?

;-)

Seriously, do you want to have a page display a change
in a database *when the database is updated* ?

There's all kinds of techniques to do that, like a database-dependent
cache item, but it will be impossible to acquire new information from
the server if the client doesn't make a second trip to the server.

So, you *have* to either refresh the page or redirect to a new page.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"SS" <ss@yahoo.com > wrote in message
news:22******** *************** ***********@mic rosoft.com...
Hi,

I don't want to refresh a web page to query and display database.
I want the page shows information immediately when database changes.
What kind of technology or method would be able to perform this action?

Sean

Nov 19 '05 #2
SS
Thanks for the reply.
How about the database trigger?
Can it trigger a web page to display when the database changes?
The web page will be like a client and listen to the database changes.
HOw can I do that?

"Juan T. Llibre" wrote:
Osmosis ?

;-)

Seriously, do you want to have a page display a change
in a database *when the database is updated* ?

There's all kinds of techniques to do that, like a database-dependent
cache item, but it will be impossible to acquire new information from
the server if the client doesn't make a second trip to the server.

So, you *have* to either refresh the page or redirect to a new page.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"SS" <ss@yahoo.com > wrote in message
news:22******** *************** ***********@mic rosoft.com...
Hi,

I don't want to refresh a web page to query and display database.
I want the page shows information immediately when database changes.
What kind of technology or method would be able to perform this action?

Sean


Nov 19 '05 #3
re:
How about the database trigger?
How will the trigger know who to send the updated data to ?

re: The web page will be like a client and listen to the database changes.
I don't know how that could be done.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"SS" <ss@yahoo.com > wrote in message
news:0A******** *************** ***********@mic rosoft.com... Thanks for the reply.
How about the database trigger?
Can it trigger a web page to display when the database changes?
The web page will be like a client and listen to the database changes.
HOw can I do that? "Juan T. Llibre" wrote:
Osmosis ?

;-)

Seriously, do you want to have a page display a change
in a database *when the database is updated* ?

There's all kinds of techniques to do that, like a database-dependent
cache item, but it will be impossible to acquire new information from
the server if the client doesn't make a second trip to the server.

So, you *have* to either refresh the page or redirect to a new page.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"SS" <ss@yahoo.com > wrote in message
news:22******** *************** ***********@mic rosoft.com...
> Hi,
>
> I don't want to refresh a web page to query and display database.
> I want the page shows information immediately when database changes.
> What kind of technology or method would be able to perform this action?
>
> Sean


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7913
by: Erwin Kloibhofer | last post by:
what if i have a webpage that displays the text "please wait, this may take a few seconds..." and it now waits until some event on the server happens. whatever this is, this can be quick, but it could also be slow, or it can even fail. but once this event has happened, i want the webpage to reload and display a different message, like "the process completed successfully". my question now is, how would i achieve this without constant...
8
20341
by: Vladimir | last post by:
Hello, I have a table in MS Access database. It has one field (with BYTE datatype) that has several properties set in Lookup tab of table Design View. Display Control = Combo Box. Row Source Type = Value List. Row Source = "1; "Above"; 2; "Below"; 3; "Equal"". When I try to SELECT <field> FROM <table> in my C++ application through ADO, I get numeric value of the field. How can I get string representation of this numeric value from the...
6
5924
by: Ian Boyd | last post by:
Every time during development we had to make table changes, we use Control Center. Most of the time, Control Center fails. If you try to "undo all", it doesn't, and you end up losing your identity seed, or your constraints, or your triggers, or your table. Talking to developers at other companies who have had the misfortune of using DB2, they are adamant that you cannot use the tools; they are buggy and you just have to resign yourself to...
3
43961
by: Lennart | last post by:
Assuming the following setup: Server1 running DB2 V8.2 with two databases DB_1 and DB_2: db2 catalog db DB_1 as CURR_DB Server2 DB2 runtime client: db2 catalog tcpip node S1 remote Server1 ... db2 catalog db CURR_DB at node S1
7
20317
by: =?Utf-8?B?QVRT?= | last post by:
HOWTO Run multiple SQL statements from ASP/ADO to an Oracle 10g. Please help, I'm trying to write an ASP page to use ADO to run a long query against an Oracle 10g database, to create tables, if they do not already exist. In terms of ASP/ADO, that would be fine in a SQL Server Sense by a simply ASP/Server-Side JavaScript as such: var cnTemp = Server.CreateObject("ADODB.Connection");
13
2268
by: rcmatt4321 | last post by:
I am 12 and need help with my code, when I press the refresh button it reposts the data into the database and utmately reposts the comment. This could be bad because if someone (Don't Even Think About Doing This) presses the refresh button a bunch (And I Mean A Bunch) it could fill up my server then bring down my bandwidth. Here is my code <html> <?php class formValidation{ function checkLength($string, $min, $max, $awnser) { $length =...
3
1979
by: dlamarche | last post by:
Hello I am new to PHP and I am reading the book Build you own database driven website using PHP and MySQL. I am trying something on my own as an exercise from the book. I sucessfully created a dropdown menu (using the <select><option> tags). I am pleased to see that it worked well. Now all I want is to display another field from the same record selected by the user from the list. I am sure it's simple. So the idea is that I have 20 bible...
3
1952
by: phil67b | last post by:
Hello everybody, I have a page rech.php where I'm doing a multi-criteria research Ex. choose your car model, choose your country. After validation of my form, on the same page, the lines will be displayed (I put a max limitation of 500 lines). Ex. list of cars Fiat to buy in UK. A clic on a line will bring me to the display page disp.php Ex. I will clic on the car n° 5 =<a href="disp.php?
2
2189
by: Hrvoje Vrbanc | last post by:
Hello! I have an ASP.NET page that displays some data from an SQL Server 2005 database, using a Select query. The database is updated by another piece of software, independently of the ASP.NET page. The ASP.NET page only displays data and it has nothing to do with inserting or updating data. What is the best way to force the refresh of the ASP.NET page every time a new record is inserted in the table?
0
8837
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.