I have a set of pages that pass data back and forth via sessions. Everything works fine and I am able to pass session data from page to page without problems. What I am noticing though is somewhere between every 5th to 15th time a page might load instead of retrieving the current active session when the page is loaded and processed, php doesn't seem to realize that there is a session already out there and so it spawns a new one. I look in the temp dirctory where the session data is stored and I can actually see the new session spawned and the old session still there with all the data. Funny thing is I cannot reproduce the problem on a regular basis. The pages work fine 75% of the time, but then the other times when this happens it seems to be random. It happens when different pages load although that same page will normally load fine. And my path through the pages could be identical each time, filling in the forms identically, etc. Bascically, there is no difference from the end users perspective as far as actions that are being taken. I am passing the SID via the URL from page to page. What is boggling is that at this point this seems to happen randomly. I am running PHP version 4.2.3 on Win2K server using IIS 5.
Any ideas out there as to why this may be taking place? I'm currently stumped.