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

check if client is still connected

P: 1
hello
im new to this but i wondering how can i check if the client is still connected on server side ?
they told me to check it with session
how i can do this?
thanks
Mar 9 '12 #1
Share this Question
Share on Google+
2 Replies


PsychoCoder
Expert Mod 100+
P: 465
Here are all the PHP session functions that you have available to accomplish this (along with samples)
Mar 10 '12 #2

Dormilich
Expert Mod 5K+
P: 8,639
im new to this but i wondering how can i check if the client is still connected on server side ?
that depends on how you define "connected".

strictly speaking, client and server are only connected in the request/response phase (= data transmission) (maybe except for a socket connection) due to HTTP being a stateless protocol.
Mar 14 '12 #3

Post your reply

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