Strange Session ?

  • Thread starter Thread starter mianiro
  • Start date Start date
M

mianiro

I have a logon screen for an application where I create a session
variable to store the username. The user logs on and is then taken
to a main screen.

The very first time a user logs in everyday, the user logs in and is
taken to the main screen. When the user clicks on any control on the
screen that has some sort of logic behind it, the user is kicked out
saying their session has timed out.

This only happens once a day, the first time the user logs in. Any
thoughts?
 
[...]
The very first time a user logs in everyday, the user logs in and is
taken to the main screen. When the user clicks on any control on the
screen that has some sort of logic behind it, the user is kicked out
saying their session has timed out.

This only happens once a day, the first time the user logs in. Any
thoughts?

Not any good ones, not for me anyway. :)

However, here's something for you to check: have your user delay logging
in for 60 seconds or so after Windows starts up. See if the problem still
happens once they log in after this delay.

The reason I mention this is that there's a known (to the general
community...not sure if it's on Microsoft's radar) problem in which if you
log in too quickly, some task tray programs aren't correctly shown in the
task tray. In that case, disabling a particular service (I forget which
one, but if you Google on "UPnP task tray icon" you'll probably find the
details) makes the problem go away.

If your user's problem goes away when they wait to log in, it may be
related to the same issue, and it may be that the same fix applies (that
is, either just wait to log in, or disable the problematic service).

Pete
 
[...]
The very first time a user logs in everyday, the user logs in and is
taken to the main screen. When the user clicks on any control on the
screen that has some sort of logic behind it, the user is kicked out
saying their session has timed out.
This only happens once a day, the first time the user logs in. Any
thoughts?

Not any good ones, not for me anyway. :)

However, here's something for you to check: have your user delay logging
in for 60 seconds or so after Windows starts up. See if the problem still
happens once they log in after this delay.

The reason I mention this is that there's a known (to the general
community...not sure if it's on Microsoft's radar) problem in which if you
log in too quickly, some task tray programs aren't correctly shown in the
task tray. In that case, disabling a particular service (I forget which
one, but if you Google on "UPnP task tray icon" you'll probably find the
details) makes the problem go away.

If your user's problem goes away when they wait to log in, it may be
related to the same issue, and it may be that the same fix applies (that
is, either just wait to log in, or disable the problematic service).

Pete

Thanks Pete. I will try it out.
 
Back
Top