Maybe I should have mentioned that you need to close and re-open the browsers to expire the session cookies so that new sessions are created each time you perform step 12 and 13. The sharing of sessions only occurs upon the first visit to the site. On subsequent visits, you retain the session as was handed-out on your first visit. Sorry if I was unclear. --Rich -----Original Message----- From: s@njeevi [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 4:04 AM To: JRun-Talk Subject: Re: [RE: Sessions being assigned to 2 clients on seperate machines] scott, I tried out this experiment under the scenario that U have mentioned below and I seem to have a diff IP address in 2 diff machines. and I tested this over a period of 1/2 hr session id returned of machine 1 296594983764385140 session id returned of machine 2 132961983764798570 Do let me know if U come to some conclusion/findings on this "Merdinger, Richard" <[EMAIL PROTECTED]> wrote: > Scott, > I installed sp2a before sending out the original email about this. To take > the IIS and site specifics out of the equation, I modified the JRun Default > Server: > > 1. Opened the JMC > 2. Selected the JRun Default Server > 3. Selected WAR Deployment > 4. Selected Create an Application > 5. Named the application test > 6. Application URL = /cxt > 7. The Appliaction Root Dir was an empty directory > 8. Selected Create > 9. Modify the web.xml file to set the default document to index.jsp > 10. Restart the JRun Default Server > 11. Create an index.jsp file in the appliation root dir containing: > SessionID:<%=session.getId()%> > 12. Open a browser on machine 1 to http://machine:8100/cxt > 13. Open a browser on machine 2 to http://machine:8100/cxt > > Note the session ID's and see if the URL was rewritten on either of the > browsers. You may need to run through steps 12 and 13 a several times to > reproduce, but it should occur within 10 minutes. > > --Rich > > > > -----Original Message----- > From: Scott Stirling [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 3:46 PM > To: JRun-Talk > Subject: RE: Sessions being assigned to 2 clients on seperate machines > > > Interesting. I'm tempted to say upgrade to SP2a. A lot of session problems > have been ironed out in SP1 and SP2. > > Sidenote: I've noticed in the past that IE will add a trailing slash to a > directory or hostname URL request, but Netscape will not. > > Scott Stirling > Allaire > > -----Original Message----- > From: Merdinger, Richard > To: JRun-Talk > Sent: 3/1/01 4:25 PM > Subject: RE: Sessions being assigned to 2 clients on seperate machines > > Thanks for the try.... > There is no proxy/caching environment in place in our extensive > development > testing. > I can get this to happen locally from the server hosting the JRun > server. > It appears that the lack of a trailing "/" for the request has something > to > do with it. > > --Rich > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 01, 2001 3:05 PM > To: JRun-Talk > Subject: Re: Sessions being assigned to 2 clients on seperate machines > > > > Richard, > > Is there some caching occurring on your proxy server that contributes to > the problems that you experience ? It might not really be the reason, > but > since you were out of ideas, I thought I'd ask. > > - Arjun > > > > > > > > "Merdinger, > > Richard" To: JRun-Talk > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED] cc: > > om> Subject: Sessions being > assigned to 2 clients on seperate machines > > > 03/01/01 > > 02:20 PM > > Please > > respond to > > jrun-talk > > > > > > > > > > We have experienced a problem in JRun 3.0 (no sp, sp1, and sp2a) where > two > clients accessing our site sequentially will end up sharing the same > session > ID and session data. We are on Windows 2000, IIS 5. > > Our JRun application is installed with a context of /cxt. > > Step 1. A user accesses our site via http://oursite.com/cxt, the URL is > rewritten to http://oursite.com/cxt/, and the default page is loaded. > > Step 2. A user on a different client machine accesses our site via the > same http://oursite.com/cxt, the URL is rewritten to > http://oursite.com/cxt/?jsessionid=1234567890. This session ID is the > same > one as the person from step 1. > > The two persons share a single session ID, and chaos results. The > Allaire > tech support (to whom we have opened a paid support ticket, have not > been > able to address this issue. Has anyone out there experienced it? > > We have altered the structure of our site slightly to minimize the > impact > of > this, but there are customers with dozens of computers who have set > their > shortcuts to http://oursite.com/cxt. > > Any ideas are appreciated. > > Richard > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
