473,403 Members | 2,183 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

How can we identify that web application is close

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
1 1479
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

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

Similar topics

1
by: Brad H McCollum | last post by:
I'm writing an application using VB 6.0 as the front-end GUI, and the MSDE version of SQL Server as the back-end (it's a program for a really small # of users --- less then 3-4). I'm trying to...
8
by: DraguVaso | last post by:
Hi, I want my application do different actions depending on the exception it gets. For exemple: I have an SQL-table with a unique index. In case I try to Insert a record that's alreaddy in it I...
1
by: brewman | last post by:
I asked this question last week, but received no reply so I'll try one more time. It may be that there is no good answer. If you have an application which overrides the onClosing event handler...
4
by: Nikhil | last post by:
I have a dll which is call by an ASP page, this dll has to perform read/write operations on a file, I seem to be encountering the following error" Process cannot access xyz.txt cause its held bby...
3
by: Michel | last post by:
Hi, I wrote an app in .Net and I whant only 1 instance of this app open for the user; the user open my app, do some works and try to open another instance of my app, I whant to show a message to...
7
by: phal | last post by:
Hi I think there are many different browsers to browse to the Internet, how can I write the javascript to identify different browser and display according to the users. Some browser disable the...
1
by: Smita Kashyap | last post by:
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...
0
by: Smita Kashyap | last post by:
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...
1
by: cmrhema | last post by:
Hi, Two questions 1. In windows application if we put on the below code, it will identify whether caps lock is on or not if (TextBox.IsKeyLocked(Keys.CapsLock)) { ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.