473,401 Members | 2,146 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,401 software developers and data experts.

session ... critical section problem in vb+asp dot net

hi all

i m developing web applicaiotn with vb+asp dot net. i ve many links at my page and i m also maintaining session. if the user of my applicaton clicks one link that sends request to the server. before the next page is loaded, user clicks another link. and so on..

i think for each server request, a separate thread is created to respond client but same session is shared by each server thread. so there is possibility that session access by more than one simultaneous client requests make its state inconsistent.

i m facing same problem.

if i wait for one request to get completed. then fine but if i click the links randomly without waiting. then session beomes inconsistent

any clue, how to face this session critical section problem

regards
Jul 19 '05 #1
1 1585
asimeerza wrote:
hi all,

i m developing web applicaiotn with vb+asp dot net. i ve many links
at my page and i m also maintaining session. if the user of my
applicaton clicks one link that sends request to the server. before
the next page is loaded, user clicks another link. and so on...

i think for each server request, a separate thread is created to
respond client but same session is shared by each server thread. so
there is possibility that session access by more than one
simultaneous client requests make its state inconsistent.

i m facing same problem.

if i wait for one request to get completed. then fine but if i click
the links randomly without waiting. then session beomes inconsistent.

any clue, how to face this session critical section problem.

regards

This is a classic asp newsgroup. While you may be lucky enough to find a
dotnet-knowledgeable person here who can answer your question, you can
eliminate the
luck factor by posting your question to an appropriate group. I suggest
microsoft.public.dotnet.framework.aspnet.

cp'ed and follow-ups set to microsoft.public.dotnet.framework.aspnet
HTH,
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2

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

Similar topics

3
by: Ben Hallert | last post by:
Hi there, I have a friend who is proficient in Visual Basic and writing ASP, and he has been instructed to learn JS in short order to take advantage of a possible career opportunity. Can...
2
by: Chris Millar | last post by:
Can anyone help me on converting this vb asp page to C#, thanks in advance. chris. <!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.0 transitional//EN"> <%...
1
by: Christophe | last post by:
Comment puis je récuperer une session asp dans une page aspx ? sans passer par un Request Christophe
4
by: Gustavo Pizzini Becker | last post by:
I have an entire site build with ASP, and so using GLOBAL.ASA . Now I'm writing some codes with ASP.NET, but I need to share some SESSION variables. 1. Is it possible using only my GLOBAL.ASA? Or...
0
by: Akronos Technologies | last post by:
Akronos Technologies, ricerca URGENTEMENTE per attività di programmazione presso importante cliente di BELLUNO la seguente figura professionale: Programmatore C#/VB ASP.NET Esperienza: 1 / 2...
1
by: Joe | last post by:
Hi, I am converting a VB .ASP using an Access Databese program to a VB .ASP using a SQL database, I am almost done There is one problem, I have a field which is a ntext (memo field in Access)...
2
by: slider | last post by:
Hey all, this is something really easy and i just cant seem to make it work. All i need is an IF then else statement that will make sure that a password is greater than six characters. Im using VB...
2
by: Newbie19 | last post by:
I am using VB, ASP, and SQL to create an application that pulls data from a Network Drive on my network. I was looking around and haven't found a way to do such. Any advice would be great.
1
by: pekbob1 | last post by:
Hi Everybody I have the error (ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'UpdatePre' that has parameters: Comp, Job_Number, Request_Date, Customer, Contact_Name, Tel,...
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: 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...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.