Home All Groups Group Topic Archive Search About
Author
5 Mar 2007 2:49 PM
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?

Author
6 Mar 2007 4:38 AM
Peter Duniho
On Mon, 05 Mar 2007 22:49:18 +0800, mianiro <mian***@gmail.com> wrote:

> [...]
> 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
Author
7 Mar 2007 1:33 PM
mianiro
Show quote
On Mar 5, 11:38 pm, "Peter Duniho" <NpOeStPe***@nnowslpianmk.com>
wrote:
> On Mon, 05 Mar 2007 22:49:18 +0800, mianiro <mian***@gmail.com> wrote:
> > [...]
> > 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.

AddThis Social Bookmark Button