However this method has a major shortcoming. When users do not click the ‘Log Out’ link but just close the browser. In such a situation the query that will set the flag field back to 0 will bot be fired and hence the user would be seen as active in the system even though the user has already left the system.
When one company is viewing the profile of another company in my site I also need to show whether that representative of the company whose profile is being viewed in logged in the system at that time or not so that if the user wants then can send a message to them.
I need some advice on how can I achieve this in the best possible way, where I can display the total number the total number of correct logged in members
Thanks a lot!
Cheers
Paresh
d11wtq | What was with the double line-spacing?