Hi,
For Logout of the application, following is the logic -
1. When a user logs in the system, it creates a session for the user.
2. In User Interface, there are 2 logout links, a function Logout() is called which clears the session of user. It works fine on clicking logout.
But, it logs out when user clicks any link/button at random time period.
I enabled Trace and checked. It shows status code 302 when user automatically logs out.
This entire logic works fine on local browser as well as under IIS. But doesn't work on hosting server.
1. Are there any settings to be done for hosting code?
2. How can I check what's happening and why it logs out of the system?
3. Has status code 302 to do with this issue? Generally it shows 200 (OK) status code when everything works fine.
4. Is there any browser cache issue?
Thanks,
Sneha