By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,919 Members | 1,587 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,919 IT Pros & Developers. It's quick & easy.

How can we identify that web application is close

P: 7
Hello
Great Developers

I am working in Asp.net 2.0.
I want to know how to identify that our web application is close so that cookies get expire.Actually I want to expire cookies whenever web application browser is closed without logout. When user manually logout then it is easy to expire cookies. But if he/she just close the web browser then how cookies will expire.

The situation is become more critical when mutliple browser open.

I think i repeat same line.


One more think I want to know how to maintain single user of web application.


Please send me litle bit code or proper link.
Thanks
Apr 19 '07 #1
Share this Question
Share on Google+
1 Reply


P: 18
Hello
Great Developers

I am working in Asp.net 2.0.
I want to know how to identify that our web application is close so that cookies get expire.Actually I want to expire cookies whenever web application browser is closed without logout. When user manually logout then it is easy to expire cookies. But if he/she just close the web browser then how cookies will expire.

The situation is become more critical when mutliple browser open.

I think i repeat same line.


One more think I want to know how to maintain single user of web application.


Please send me litle bit code or proper link.
Thanks
----------------------
i think that is not possible
if u want to close the application without logout , then u have to manulay remove te cookies bye going to control panel / internet option/ general
and also u logout manully u to do again the same process .
but in both cases cookes are expired either u manualy logiut or close the application directly
also on run comand type
%temp%
and easily delete cookises , temperory files
===============
and u r developing a site in asp.net
just remember to use FINALY case whenever u create new instance that automaticaly experies cookise during run time and also make easy runing to web page
Apr 20 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.