Closed Thread Icon

Topic awaiting preservation: ASP IsClientConnected (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12619" title="Pages that link to Topic awaiting preservation: ASP IsClientConnected (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: ASP IsClientConnected <span class="small">(Page 1 of 1)</span>\

 
Blacknight
Bipolar (III) Inmate

From: INFRONT OF MY PC
Insane since: Dec 2001

posted posted 02-19-2003 16:51

i want to update a users last visite when he disconects from the server
can i do this like this ?

Set conn = Server.CreateObject("ADODB.Connection")
Set rsconn = Server.CreateObject("ADODB.Recordset")

if Response.IsClientConnected = true then

else

intses=Session("User")
if not intses = "" then
rsconn.Open "SELECT * FROM User WHERE ID = " & intses & "",conn , 2,3

rs("LastLogin") = now
rs.close
end if
end if



it doesnt seem to work or am i goin at this kompletely wrong?

visite my Blackbrain

grimpidgeon
Nervous Wreck (II) Inmate

From: UK
Insane since: Feb 2003

posted posted 02-28-2003 00:29

Like you Blacknight, i'm trying to get my head around ASP, the point I'm at at the moment is sorting out my IIS - thanx for the link to aspfaq.com - it's given me information I haven't found else where.

I don't have an answer to your question (as yet), but I can give you a few websites you might want to look at:

http://www.haneng.com/Forums.asp?p=118 (you could try posting your question here)

http://www.psacake.com/web/default.asp

Is there such an object as " Response.IsClientConnected "? - I haven't been able to find anything about this yet. Shouldn't you be using response.write/ or cacheing your pages in some way (see link below)

http://www.psacake.com/web/s.asp

Please keep me posted as to how you get on - as there seem to very few ASP questions here.

I'm not au fait with Asp - yet! - but I am very intrigued by it.

Blacknight
Bipolar (III) Inmate

From: INFRONT OF MY PC
Insane since: Dec 2001

posted posted 03-02-2003 14:34

well yes this object exsists llooked it up at w3schools thanks for the links.. il be hanging out here
ood to here ther ARE ASP people around here

visite my Blackbrain

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

posted posted 03-03-2003 06:12

Not really...look hard enough and you'll find someone who knows about just about anything here.

Blacknight
Bipolar (III) Inmate

From: INFRONT OF MY PC
Insane since: Dec 2001

posted posted 03-06-2003 18:10

true but therearent many asp people here

visite my Blackbrain

[This message has been edited by Blacknight (edited 03-06-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu