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

objects retaining values among computers

The forms in my application are retaining the values objects have (text box,
datagrid, public vars, etc…) among different computers in the network, for
example if you as result of entering a name in a text box have a datagrid
listing matches from a database’s table, and then walk to another computer
and go to the same system option which should display a screen with empty
fields at startup, it will be showing the same data in the fields as of the
other computer you just left…….I have not done anything unusual in the IIS
setup and neither have I done any programming to support this behavior, I
actually not even know how to force this behavior even if I wanted it……

Please help….

Thanks

C.Fleury

Nov 19 '05 #1
2 1174
you probably stored your field values in a vb shared module. unlike vb6,
these are shared between all threads in the appdomain. this means every
browser request is using the same data. you need to switch to a session
model.

-- bruce (sqlwork.com)

"cFleury" <cF*****@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
The forms in my application are retaining the values objects have (text
box,
datagrid, public vars, etc.) among different computers in the network, for
example if you as result of entering a name in a text box have a datagrid
listing matches from a database's table, and then walk to another computer
and go to the same system option which should display a screen with empty
fields at startup, it will be showing the same data in the fields as of
the
other computer you just left...I have not done anything unusual in the IIS
setup and neither have I done any programming to support this behavior, I
actually not even know how to force this behavior even if I wanted it..

Please help..

Thanks

C.Fleury

Nov 19 '05 #2
Bruce,

I have all my structures defined as public in a VB module....is that what
you mean ?. How can I have the same in a session mode (sorry for the
ignorance) ?

Thanks

C.Fleury

"Bruce Barker" wrote:
you probably stored your field values in a vb shared module. unlike vb6,
these are shared between all threads in the appdomain. this means every
browser request is using the same data. you need to switch to a session
model.

-- bruce (sqlwork.com)

"cFleury" <cF*****@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
The forms in my application are retaining the values objects have (text
box,
datagrid, public vars, etc.) among different computers in the network, for
example if you as result of entering a name in a text box have a datagrid
listing matches from a database's table, and then walk to another computer
and go to the same system option which should display a screen with empty
fields at startup, it will be showing the same data in the fields as of
the
other computer you just left...I have not done anything unusual in the IIS
setup and neither have I done any programming to support this behavior, I
actually not even know how to force this behavior even if I wanted it..

Please help..

Thanks

C.Fleury


Nov 19 '05 #3

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

Similar topics

6
by: Garma | last post by:
According to what I have learnt so far, instantiating global objects should be the last resort. Is there any reasons why so? Sometimes some objects or their pointers have to be shared among...
19
by: jeff | last post by:
how do you convert form byte to Int32 while retaining the binary value of the byte array
10
by: Jax | last post by:
I dont seem to fully comprehend references to objects yet. Lets say for example I do this; Customer c = new Customer(); Customer c1 = c; I understand that if I change c1, I also change c as...
14
by: tshad | last post by:
I have people telling me that I should set up objects for my tables, but I am finding the Null problem makes that difficult. It isn't a big problem if you are not updating the table, but if you...
0
by: Earl Teigrob | last post by:
I have a page that reads values from an XML file to display to the user. The page also has a control panel that allows administrators to update the XML file with new values. When an administrator...
2
by: cFleury | last post by:
This system works in a intranet w/ some 200 stations and this particular form is retaining its values among different stations...like if I enter some values in the form on station 1 walk to station...
5
by: jung_h_park | last post by:
From: jung_h_park@yahoo.com Newsgroups: microsoft.public.dotnet.framework.aspnet Subject: Dropdown List not retaining its SelectedValue Date: Mon, 26 Jun 2006 21:02:57 -0700 Hello, My...
3
by: =?Utf-8?B?ZGVuIDIwMDU=?= | last post by:
Hi, Trouble in retaining values of dropdownlist, textboxes, and other controls when dropdownlist selectedindexchanged event is triggered, the controls are inside a user control and this user...
0
JAMBAI
by: JAMBAI | last post by:
I have created a ASP.NET application and created two forms (Webform1.aspx & Webform2.aspx). I am displaying the Webform2.aspx based on the Webform1.aspx input, For example if the user didn't...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...

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.