Board index » Visual Studio » how to detect whether is a user is logged in or not from IE Toolbar

how to detect whether is a user is logged in or not from IE Toolbar

Visual Studio218
Hi

I have developed an IE toolbar in ATL,COM,WTL and without using

MFC.This toolbar is for a particular site.This is having a sign in

button on clicking which user will be navigated to sign in page of our

site.After signing in the toolbar will be changed,means it will be

having some extra buttons on it.when the user will click logout,the

toolbar will be back to its previous state.Means this is like yahoo

toolbar.Upto this part I have made it perfect.I have done MySql

database connectivity from my toolbar.Now the problem what I am facing

is that:

if any user logs in our site and then he dose not do anything in the

site for 20 minutes his session expires,means nothing will work in the

site after idle 20 minutes,the user needs to sign in again.Now in that

moment also I need to change the toolbar(I need to get the the toolbar

in signed out state).How can I do it?Can anybody plz help me with some

sample code?


-
 

Re:how to detect whether is a user is logged in or not from IE Toolbar

<bhattacharjeesoft@gmail.com>wrote in message

Quote
Hi

I have developed an IE toolbar in ATL,COM,WTL and without using

MFC.This toolbar is for a particular site.This is having a sign in

button on clicking which user will be navigated to sign in page of our

site.After signing in the toolbar will be changed,means it will be

having some extra buttons on it.when the user will click logout,the

toolbar will be back to its previous state.Means this is like yahoo

toolbar.Upto this part I have made it perfect.I have done MySql

database connectivity from my toolbar.Now the problem what I am facing

is that:

if any user logs in our site and then he dose not do anything in the

site for 20 minutes his session expires,means nothing will work in the

site after idle 20 minutes,the user needs to sign in again.Now in that

moment also I need to change the toolbar(I need to get the the toolbar

in signed out state).How can I do it?Can anybody plz help me with some

sample code?





I don't know much about it, but it seems your toolbar could use a webservice

callback to get notified when the user logs out of the site. This is

assuming you have control over the site that could support such a

webservice.



-- David





-