Skip to main content
Inspiring
January 10, 2007
Question

sessions mixing

  • January 10, 2007
  • 4 replies
  • 534 views
I have an app that has been running fine for years.

Basically a classroom of people doing a survey.

I'm not sure if the network setup has changed, but today they are experiencing session getting mixed up between users? One persons answers appear on another's survey.

This is all session variable based.

they blame IE7, but I doubt it.

Anybody have any idea what could be causing this? Thanks! I'm stumped
This topic has been closed for replies.

4 replies

BKBK
Community Expert
Community Expert
January 12, 2007
> back to IE 6 and the problem is fixed
Then I would think immediately of a change in cookie handling in the move to IE 7. What happens when you set the attribute setDomainCookies to true?

BKBK
Community Expert
Community Expert
January 11, 2007
You may have tied users to sessions, but failed to maintain state from part1.cfm to part2.cfm. Or, perhaps, you may unwittingly have introduced a wider scope, like the application scope, in part2.cfm.

dandevAuthor
Inspiring
January 11, 2007
i've reviewed the the code and it's all session. And like i said it's been fine for years.

Whats even more bizarre, they downgraded the entire class back to IE 6 and the problem is fixed. (but like everyone they want the upgrade)
BKBK
Community Expert
Community Expert
January 11, 2007
Use client variables and set the setdomaincookies attribute to true, as explained in this livedoc on managing client identity information in a cluster.

dandevAuthor
Inspiring
January 11, 2007
at this point I'm not wanting to completely change how I handle my application. Like I said it's been working fine for about 4 years.

What I'm wanting to know is what could be causing this to happen. Sessions shouldn't be mixing like that, it's not part of the spec. :)

Thanks
January 11, 2007
Invalidate their session when they are done with the survey or provide a logout button that does the same.
dandevAuthor
Inspiring
January 11, 2007
I do and I should have mentionned, this is on separate machines.

user A starts with part 1;
user B starts with part 2;
by the time user A gets to part 2 of the survey, the answers are already filled with user B's answer.

2 complete different sessions based on the user id on 2 machines.