473,378 Members | 1,360 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,378 software developers and data experts.

Response.IsClientConnected

I need to know if the client is connected from the session_end, how can I do
this.....
Nov 15 '05 #1
3 1836

"Scott M." <s-***@badspamsnet.net> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
Session_End fires when the session is no longer valid
Sorry.. That's not true.. Session_End fires when the timeout has been
exceeded....
The session is still valid in the Session_End... I have full access to all
session vars inside the end event..

so you would never have a connected client at that point.

Try:

If Response.IsClientConnected Then
your code here
End If

But put this code into an event prior to Session_End.
Be specific please... What event fires before Session_End...?

Also, please do not cross-post as you have done with this message.
I made 1 post to many newsgroups... Whats wrong with that....?


"alien2_51" <da********@n.o.s.p.a.m.monacocoach.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I need to know if the client is connected from the session_end, how can
I do
this.....


Nov 15 '05 #2
> > Also, please do not cross-post as you have done with this message.

I made 1 post to many newsgroups... Whats wrong with that....?


It's generally considered bad 'netiquette' to post a single message to
multiple groups - especially when the groups chosen (dotnet and classic ASP)
have little in common.
http://www.my-newsgroups.com/SiteMap/netiquette.htm

Alan
Nov 15 '05 #3
Alan wrote:
Also, please do not cross-post as you have done with this message.
I made 1 post to many newsgroups... Whats wrong with that....?


It's generally considered bad 'netiquette' to post a single message to
multiple groups


generally - sorry we have to disagree.
especially when the groups chosen (dotnet and
classic ASP) have little in common.


however, we do agree in that particular instance ;o)

multi-posting OTOH is always irritating for well documented reasons

--
William Tasso - http://WilliamTasso.com
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: alien2_51 | last post by:
I need to know if the client is connected from the session_end, how can I do this.....
9
by: Dominic Godin | last post by:
Hi, I have an asp page that does a lot of processing and reports it's finished by printing the word "Success". For example: <% SomeFunction(SomeVar) SomeFunction(SomeVar1) ...
2
by: Zam | last post by:
Hello World, Under Windows 2003 Server. IIS6. The following code working fine for small files, and for files with size about few megabytes. If I am trying to send HUGE file -- about 700...
0
by: ProJee | last post by:
Hi, Response.WriteFile (or Response.OutputStream.Write) finishes immediately, not after the file is completely downloaded. It finishes before (!) the user clicks the "Save" or "Open" browser...
2
by: hoenes1 | last post by:
I've got an aspx-Page "SendFile.aspx" which is called by a Link on "ShowListOfFiles.aspx" and sends the file in the OnLoad Eventhandler. The filename to download is stored in a Session variable....
0
by: brian.fairchild | last post by:
I have a downloader page in my asp.net application that looks at a session variable to get the path to the file, checks it then downloads it using the Response object. When the "File Download"...
6
by: john | last post by:
The standard method to transmit a file from an aspx page to a browser is to stream the file to the response then end the response. The HTML code generated by the aspx page is discarded, and the...
0
by: Jacque | last post by:
Hello, The Response.IsClientConnected property return always TRUE in IIS6. I believe this is a bug in IIS5.1 and IIS6. Is there anybody that knows how to solve this problem or if there is a way...
2
by: Michael D. Ober | last post by:
When I single step through the code below, it sends back the PDF file that is retrieved in the line fm.GetAccountPDF(...). When I run without single stepping, I get the master page for this page. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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...

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.