two sessions started
two sessions started
- Subject: two sessions started
- From: Jeff Schmitz <email@hidden>
- Date: Tue, 1 Mar 2005 07:04:54 -0700
Hello,
I'm having a problem with my application where everytime someone connects to it, two sessions are started, at least according the JavaMonitor. I do have an Initialize operation in my Session class that is called by my Main page's constructor. Could this be causing it someway? Here is my Main page constructor:
public Main(WOContext context) {
super(context);
session.initialize();
}
And here is the Session.initialize routine:
public void initialize() {
g1_1_1_ds = new ComboTeams(false, false);
g1_1_2_ds = new ComboTeams(false, false);
g1_1_3_ds = new ComboTeams(false, false);
g1_1_4_ds = new ComboTeams(false, false);
g1_1_5_ds = new ComboTeams(false, false);
g1_1_6_ds = new ComboTeams(false, false);
g1_1_7_ds = new ComboTeams(false, false);
g1_1_8_ds = new ComboTeams(false, false);
g1_2_1_ds = new ComboTeams(false, false);
g1_2_2_ds = new ComboTeams(false, false);
g1_2_3_ds = new ComboTeams(false, false);
g1_2_4_ds = new ComboTeams(false, false);
g1_3_1_ds = new ComboTeams(false, false);
g1_3_2_ds = new ComboTeams(false, false);
g1_4_1_ds = new ComboTeams(false, false);
currentPicks = new Picks();
fakeActuals = new Picks();
teamsDisabled = false;
canIWinState = false;
passwordOk = false;
currentSelRnd = 1;
settingActuals = false;
useFakeActuals = false;
users_ds = new ComboUsers();
pools_ds = new ComboPools();
currentPicks.comboData[0] = g1_1_1_ds;
currentPicks.comboData[1] = g1_1_2_ds;
currentPicks.comboData[2] = g1_1_3_ds;
currentPicks.comboData[3] = g1_1_4_ds;
currentPicks.comboData[4] = g1_1_5_ds;
currentPicks.comboData[5] = g1_1_6_ds;
currentPicks.comboData[6] = g1_1_7_ds;
currentPicks.comboData[7] = g1_1_8_ds;
currentPicks.comboData[8] = g1_2_1_ds;
currentPicks.comboData[9] = g1_2_2_ds;
currentPicks.comboData[10] = g1_2_3_ds;
currentPicks.comboData[11] = g1_2_4_ds;
currentPicks.comboData[12] = g1_3_1_ds;
currentPicks.comboData[13] = g1_3_2_ds;
currentPicks.comboData[14] = g1_4_1_ds;
for (int i = 0; i<4; i++) {
for (int j = 0; j<15; j++) {
fakeActuals.comboData[i][j] = new ComboTeams(false, false);
}
}
for (int i = 0; i<3; i++) {
fakeActuals.finalsData[i] = new ComboTeams(false, false);
}
}
Thanks,
Jeff Schmitz _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden