.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 26th, 2004, 07:01 AM
asimeerza asimeerza is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 asimeerza User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old March 4th, 2004, 10:20 PM
adurstew's Avatar
adurstew adurstew is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: Charlotte, NC
Posts: 114 adurstew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 33 sec
Reputation Power: 6
Send a message via AIM to adurstew Send a message via Yahoo to adurstew
I've never hear of that happening because by the time to user sees the page the request has been prosessed in memory and a completed verison downloaded to the user to view. So you don't get this issue.

What you are probably seeing is a session affinity issue with web gardens running on a windows 2003 server. This is just a guess since I don't know your configuration. I would check your server and see if they are running windows 2003, if it is check to see if the web gardens are running.

If they are you will need to database your sessions.

BTW: A single session stay with a user unless your using a web farm / web garden configuration.

hth,
__________________
Andrew J Durstewitz
ASP.NET,VB.NET,SQL Developer

http://madashellnc.blogspot.com

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > session ... critical section problem in vb+asp dot net


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway