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

More ASP.NET Sessions than I can handle!

I am having a very strange problem with VB.NET 2003 on a
WinXP SP1 system. I am developing an ASP.NET app with
multiple web pages. I create a session level hash table
(indexed by session.sessionid) to store user specific
info. My login function stores the data happily, but
when I went later on in my app to retrieve my data, it
wasn't there. I finally discovered that the sessionId my
app had when it put the data in the hashtable was not the
same sessionId as when I went to get it, thus the cause
of my access problem.

Further debugging led me to discover that I was getting
multiple sessions being created during my app. I
confirmed this by adding a Beep() function in my
project's GLOBAL.ASAX.VB \ Session_Start subroutine. It
sounds like a machine gun of sessions being created when
I run my app!

I keep on thinking it is some session timeout setting,
but I think my web.config is clean and so is my
machine.config file. Any thoughts, ideas or places to
check?

Thanks very much!
Nov 20 '05 #1
1 2133
"Don Bouchard" <db*******@tricomputer.com> schrieb
I am having a very strange problem with VB.NET 2003 on a
WinXP SP1 system. I am developing an ASP.NET app with
multiple web pages. I create a session level hash table
(indexed by session.sessionid) to store user specific
info. My login function stores the data happily, but
when I went later on in my app to retrieve my data, it
wasn't there. I finally discovered that the sessionId my
app had when it put the data in the hashtable was not the
same sessionId as when I went to get it, thus the cause
of my access problem.

Further debugging led me to discover that I was getting
multiple sessions being created during my app. I
confirmed this by adding a Beep() function in my
project's GLOBAL.ASAX.VB \ Session_Start subroutine. It
sounds like a machine gun of sessions being created when
I run my app!

I keep on thinking it is some session timeout setting,
but I think my web.config is clean and so is my
machine.config file. Any thoughts, ideas or places to
check?

Thanks very much!


Looks like an ASP.NET problem, not like one specific to VB.NET. Please turn
to microsoft.public.dotnet.framework.aspnet[.*]
--
Armin

Nov 20 '05 #2

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

Similar topics

5
by: Stephen Poley | last post by:
I'm trying to understand sessions and authentication. I gathered that the only way of preserving data across script invocations was to use a session. However I note that $_SERVER and $_SERVER...
1
by: Jon Grieve | last post by:
Hi, I've been playing for a few days now with putting Objects in sessions and maintaining that object during a session. This seems to be working just fine, and I can see and use most of the...
4
by: john | last post by:
How do u guys handle multiple sessions?? i.e, opening different browser windows by running iexplore.exe or clicking IE icons and opening the application. My sessions are mixing up. what i mean is...
0
by: Tuckbros | last post by:
Hi everybody, I am making a small site. This site uses sessions and I need to store pictures for each session. I solved this problem thanks to the session_set_save_handler() function. Sessions...
0
by: MarionEll | last post by:
XML Conference 2003 program now available…register with discounts now! IDEAlliance has just released the full program for XML 2003 scheduled December 7-12 at the Philadelphia Convention Center....
3
by: Will Woodhull | last post by:
Hi, I'm new here-- I've been reading the group for a couple of days. Nice group; I like the way n00b33 questions are handled. I've been using a Javascript routine in index.html to determine a...
10
by: Anthony Williams | last post by:
Hi gang, This one looks like a bug :o( As you may or may not know, setting session management in web.config to use cookieless sessions causes the ASP.NET runtime to munge a session ID into...
1
by: Pavils Jurjans | last post by:
Hello, I have a couple of unclear questions about ASP.NET sessions: First, I'd like to have some way to see how many sessions currently are running on the certain application, and, possibly, have...
0
by: a3321 | last post by:
I am just curious if the authors or anyone else has an opinion on what's the best approach to handle a situation where you have a single web user who wants to multitask between several different...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.