Jump to content

Archived

This topic is now archived and is closed to further replies.

Hardwarez

Can I get the socket or port number for a HTTP client connection?

Recommended Posts

???
I have been authorizing users for a script by ip address.  Problem is that I will have many users from the same ip address.

Is there a way I can find the socket or port number being used to connect to a client ip address?

For example I see  that this http connection is on port 2297... So I hope to generate an Id based on ip and port number..

Share this post


Link to post
Share on other sites
Great!  That is what I was looking for.  Now, I see that the port changes every 15 seconds.. I guess I will need to find a way to make apache allow 500 second time outs :P

Thanks again!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.