1. Each session is logging in with different attributes, either because they're different account logins or because the login script is constructing some sort of resource that's different with every login.
2. The two sessions are identical, but getting into resource conflicts.
More than that I can't say without details about what's "different" about them.
An IDE is no substitute for an Intelligent Developer.