473,383 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Server Forced PostBack

Hey All

I have an interesting question. I have a WEB application that requires an "Active" data connection. For example, the client application makes a request to the database. Throughout the "Session", if any changes are made to the data that the user has, the server should force a PostBack

In ADO, adOpenDynamic recordset is the behavior I am trying to mimick. I know that with ActiveX, J# and java this is not that hard, what about ASP.Net via C# or VB

Any ideas would be great

Thanks

VB Tester
Nov 18 '05 #1
1 2184
Under the ASP.NET architecture, once the client has received the page, the
server is out of the picture until the CLIENT makes another request from the
server.

So, the answer to your question is to force another request from the client.
This leaves you with only client side possibilities like using HTML's meta
tag with the HTTP-EQUIV="Refresh" CONTENT="n" where n is a number in
seconds.

You will not be able to have the server spontaneously contact the client
after page delivery is complete to let it know about a data value changing.
"VB Tester" <an*******@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com...
Hey All,

I have an interesting question. I have a WEB application that requires an "Active" data connection. For example, the client application makes a
request to the database. Throughout the "Session", if any changes are made
to the data that the user has, the server should force a PostBack.
In ADO, adOpenDynamic recordset is the behavior I am trying to mimick. I know that with ActiveX, J# and java this is not that hard, what about
ASP.Net via C# or VB?
Any ideas would be great.
Thanks,

VB Tester

Nov 18 '05 #2

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

Similar topics

0
by: Amar | last post by:
After using Server.Transfer to transfer data from one page to another, I would like to know if there is a way to keep the receiving web page variables intact after a postback. Here is the code...
2
by: RAJ | last post by:
In our multi-tier application, we have several ASP.NET user controls which will update the same data source provided by middle tier logic. In this particular scenario we have one user control...
11
by: Alexander Bosch | last post by:
Hi, I'm having a problem similar to the one that's stated in this KB http://support.microsoft.com/default.aspx?scid=kb;en-us;839521 When I'm posting a page to itself with the bool value as true it...
7
by: kaburke | last post by:
Is there a way to make a page at the receiving end of a Server.Transfer think that the request is a Postback? (When I say "think it is a Postback," I mean I want the page to go through the ENTIRE...
5
by: Alan Silver | last post by:
Hello, Reading articles on the various forms of attack that people try against web sites, it seems that a lot of them involve people modifying a page and posting it back to the server. Thus, if...
5
by: mayur_hirpara | last post by:
Hi, I have been developing web applications for a while now. However, as I was thinking through the architecture I really don't understand the "How server can identify between which buttons has...
0
by: Suresh | last post by:
Hi Guys I have Db2 server installed on remote server. i am connecting to that remote server by using VPN. I want to connect that remote DB2 server instance using my local machine DB2...
7
by: Tim_Mac | last post by:
hi, using .net 2.0, i have a web form with lots of textboxes, drop-down-lists etc. There are lots of required field validators and regular expression validators. When i click the 'save' button,...
7
by: Tony Girgenti | last post by:
Hello. I'm trying to undetrstand ASP.NET 2.0 and javascript. When i have a button and i click on it and i see the web broswer progress bar at the bottom do something, does that mean that there...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.