473,378 Members | 1,441 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,378 software developers and data experts.

problem in multi-user asp.net

Hi All

I am developing one Portfolio Management application where there is
single database shared by all the traders.

I have developed web-based application for this. I want to make this
multiuser application.

Following is the architecture of the application ...

Front End is developed in WebForms

Business Layerm : Represented by one Object
Database Layer : Represented by one Object
and Actual Database : SQL Server
Now, when I open two browser window and open Main-Entry form in both the
windows.
Now, when I deleted one transaction in one window and it gets updated in
database and that page gets refreshed and shows updated data.
now, in the second browser-window still there is stale data, now when i
select the same transactions which i deleted in the first window it
throws me error. it says that row is no longer there. That means DataSet
is shared by both the pages.

How, can I avoid that so that every opening of new windows gets its own
dataset ? or some log-in mechanisam which creates different session for
every user ...
I want to seperate out the user from each other so that individual user
can work on its own set of dataset ..
My Business Logic Layer and DbLogic Layer are seperate projects. Both
the layers are represented by one Object which i get from Factory pattern...

Following is the object creation sequence :

So invocation of Entry-Main Form.aspx creates one business object - >
business object inturn create dbutil object - > db util has dataset
within it which stores data coming out from stored procedure ...
Silent Ocean ...
Nov 19 '05 #1
1 1208
It should not be so... you must have some other problem
"Deep Silent Ocean" <oc**********@gmail.com> escreveu na mensagem
news:e5**************@tk2msftngp13.phx.gbl...
Hi All

I am developing one Portfolio Management application where there is single
database shared by all the traders.

I have developed web-based application for this. I want to make this
multiuser application.

Following is the architecture of the application ...

Front End is developed in WebForms

Business Layerm : Represented by one Object
Database Layer : Represented by one Object
and Actual Database : SQL Server
Now, when I open two browser window and open Main-Entry form in both the
windows.
Now, when I deleted one transaction in one window and it gets updated in
database and that page gets refreshed and shows updated data.
now, in the second browser-window still there is stale data, now when i
select the same transactions which i deleted in the first window it throws
me error. it says that row is no longer there. That means DataSet is
shared by both the pages.

How, can I avoid that so that every opening of new windows gets its own
dataset ? or some log-in mechanisam which creates different session for
every user ...
I want to seperate out the user from each other so that individual user
can work on its own set of dataset ..
My Business Logic Layer and DbLogic Layer are seperate projects. Both the
layers are represented by one Object which i get from Factory pattern...

Following is the object creation sequence :

So invocation of Entry-Main Form.aspx creates one business object - >
business object inturn create dbutil object - > db util has dataset within
it which stores data coming out from stored procedure ...
Silent Ocean ...

Nov 19 '05 #2

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

Similar topics

1
by: Chung Jiho | last post by:
Hello, We have been deploying our web application over win2k servers. It is written in Python and uses Active Scripting to meet our requirements that it must be ASP application. So far, it was...
1
by: WU FUHENG | last post by:
Today,I found a strange problem in python multi-thread programming.When I used function win32com.client.Dispatch('ADODB.Connection') in primary thread, it was OK. But when I called it in...
0
by: Atul Kshirsagar | last post by:
I am embedding python in my C++ application. I am using Python *2.3.2* with a C++ extention DLL in multi-threaded environment. I am using SWIG-1.3.19 to generate C++ to Python interface. Now to...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
4
by: snowweb | last post by:
I am trying to implement a CSS hierarchical unfolding menu on a site. The thing is, it needs to be dynamically populated from the results of a database query. I previously had the menu working but...
2
by: Diz | last post by:
Can anyone please help with this? when i run the following query, using SELECT*, SELECT * FROM tbl_artwork, tbl_artworkmedium, tbl_medium WHERE tbl_artwork.artworkID =...
3
by: dice | last post by:
Hi, In order to use an external api call that requires a function pointer I am currently creating static wrappers to call my objects functions. I want to re-jig this so I only need 1 static...
0
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much...
1
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much...
7
by: Adam01 | last post by:
Im not perl expert with perl, and I am trying to run a server script (that I didnt write). And perl reports: Can't locate IO/Compress/Gzip.pm in @INC (@INC contains:...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.