How would I go about creating a timeout session in Visual Studio 2010 using C#? Explanations and/or references would be appreciated.
View Complete Post
I have to develope Jquery chat application Like Gmail in My Web application. For this i spend My lots of hours in Googling. AT THE time of searching I got one script. which is very helpful. But in the script author has used all the members who has logged will be appeared in the chat box. instead of this i have to put only the members who's are in the friendlist. i have to show only these members.
Following is the project from where i get script.
As well as in the code author has passed dynamic userid to session but i have to pass actuall userid from database.
from Here I download the code. but the code is in the 3.5 framework. i m using 2.0 framwork. so most of the code I have changed but not getting how to make changes for list.
Please help me to solve the Problem.
Thanks In Advance
Some questions about sessions:
I know sessions information is stored in the form of cookie and you can use qurystring for that if you set cookieless session in web.config. But I don't exactly understand the scope of a session.
What I believe is when you login to a website, a session cookie is created and the scope of that session is within that page only. If you close the browser that session gets killed and when you open the browser again and go to that site then a new session is created ie a new session is created on every request. Is this correct?
But I have seen in many websites, even if you close the browser and open it again the session is not killed, how does that happen?
Can anyone clear out and explain the scope/lifetime of sessions