|
|
 |
| Internet Information Services Limit this to IIS questions and posts. ASP/ASP.NET questions should still go in the ASP/ASP.NET forums. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Internet Information Services section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

January 18th, 2007, 05:25 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
|
|
IIS5 Win2K Sessions being dropped (apparently)
I have a VB6 WebClass application. When users 1st come to the site (therefore having no Session) they are shown the Login page irrespective of the rest of the URL.
In the submission of that form, I try to contact Oracle with the provided credentials. If Oracle responds, I put the credentials into the Session.
From then on, they have a Session associated with their use of the app, a Session with valid credentials.
But every so often, instead of receiving the requested page, they get the login screen again.
The box hosting the internet server is a Dell PowerEdge 1750 w/Dual 2.8 GHz CPUs & 2 Gb RAM. I am suspecting that what happens is that the Session (technical term) associated with the users session (general description of what they’re doing) is also associated with only one of the processors, and that when that processor is not available, their request is serviced by a processor that has never heard of them. (Or perhaps you could substitute “thread” for “processor” in that description...)
So the question I have is whether there is a well known mechanism whereby the user can get orphaned from their existing Session, given the hardware/software I described above?
Thoughts?
Resources?
Edit \/ \/
Additional piece of the puzzle.
Mark, at a building ½ Mi. away opened the web app, and I opened the web app. (This app does not persist Oracle connections. Each need for data initiates openeing a new connection, gettng the data, then closing the connection.)
He went back and forth between two pages repeatedly for about a ½ an hour. He finally was sent back to the login screen. At that point I requested a page from my instance, and I was given the login page instead.
So apparently, when one person loses their Session (and therefore their held credentials), everyone loses their Session at the same time.
|

January 19th, 2007, 02:41 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Check out the section:
P2P Forum > ASP and ASP.NET > ASP.NET 1.0 and 1.1 Beginners > Session variables being lost!
Which discusses this in depth.
|

January 19th, 2007, 02:46 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Actually this one is more up your alley I think:
P2P Forum > .NET > VS.NET 2002/2003 > Session Variables Randomly Disappear?
|

January 22nd, 2007, 03:48 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Wow! That was a rally interesting thread (all 7 pages of it). Apparently Session problems abound.
Unfortunately, it appears that everyone in that thread has just one Session fail. In my case all Sessions fail at the same time. Very perplexing (and vexing).
So the issue I’m facing remains unresolved.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |