|
by: feng |
last post by:
Hi,
In our asp.net app, we need to capture the event when user
close the browser window by clicking on the "x" button.
But it doesn't seem to be as easy as it sound. Can someone
show me how to do this?
Thanks
|
by: Harry |
last post by:
My development environment is Framework 1.1, ASP.Net and IE 6.X.
I have logout button in all the screens in the application. I am doing
database activity when the user clicks on logout button. However the user
can close the application using the IE close cross mark. When the user
closes the application without logout button all my database routine and
logout activities will not be called. Any solution for this kind of
situation? Thanks...
|
by: RJN |
last post by:
Hi
I have a pop-up window which has a task menu on its left which are
nothing but links to different screens. This window also has a close
button. On click of close button I do some server side operation and the
window closes itself. Now the user can close the window by clicking on
X(Top right corner) or by pressing Alt+F4 window. I want to atleast
alert the user when he does these 2 things to inform he has not clicked
on the close...
|
by: Lord2702 |
last post by:
Sat. Oct. 30, 2004 3:25 PM PT
I want to detect, if user has close the browser, (after logging to my site),
that user has closed the browser. How to achieve it ? I want to know this
close action on my server-side code. Because if he logout by clicking on
Logout/ Sign-Off button it simple to get the message.
Although, this is very similar to the first above. Also, if user takes any
action on client-side or browser side how will I detect...
|
by: Vam$y |
last post by:
In asp.net how to catch window close event when a user closes the window
explicitly by clicking on “x” button which is on the right top corner of the
browser.
My requirement is When a user explicitly closes the window I need to pop up
a message to user and log information in DB whatever the user entered in the
form.
I implemented on Body unload event by calling vb script, but it is getting
executed when I go out of the form by...
|
|
by: JP |
last post by:
Is there a way to temporirly disable the X button (close) on a MODAL window
in the web browser? We have cleanup code that needs to run after the user
closes the modal window. This works fine if the user closes the window via a
button I have placed on the page. If the user tries to close the window via
the "X", then popup blockers potentially pervent then cleanup window from
executing.
Right now, clicking the X fires off the...
|
by: nebulus |
last post by:
I'm working on a web app that under normal circumstances will be happy with the Session_OnEnd event, but when a user leaves a page by closing the browser by either Alt+F4 or just hitting the "X", I'll need to kill the session.
Now, with the onbeforeunload event, I can handle this quite easily in IE, but in FireFox, it's another matter. For one thing, FireFox seems to empty out its event object on a page unload, so it's very hard to track...
|
by: Toccoa |
last post by:
After considerable googling - I mean searching with Google(r) - I
could not find javascript on a button or <a href=... to close a
window in the latest versions of IE and FireFox.
There seemed to be two techniques for earlier versions. But the
window.opener='' ;window.close();
and the
window.open('','_parent','') ;window.close();
techniques do not work for me. I.e., I still get confirmation message
|
by: =?Utf-8?B?QmVuamFtaW4gSmFuZWNrZQ==?= |
last post by:
Hi,
we're struggling with a strange session problem in an ASP.NET 2.0
application. The application is used by our customers to access
customer-related information such as invoices over the internet. Customer
have to log-in and are then identified by their customer number and some
other information stored in the session. We use the asp.net session cookie
system to keep track of the sessions. This works quite well. Unfortunately
though,...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|