D
D
Denis2017-04-09 13:08:39
PHP
Denis, 2017-04-09 13:08:39

Connecting and disconnecting from the server via http protocol?

You need to develop a client application to work with the server. I wrote the client and the server in PHP, I pass the values ​​using the GET function, everything works.
You need to add two buttons: connecting to the server and disconnecting from the server , using the http protocol commands, I ask for help, I don’t understand how this is implemented, and what these two commands should be ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Ltonid, 2017-04-09
@AtaZ

Logically, this is authorization for interaction. Authorization itself is a connection, deauthorization is a disconnection. In php, this is setting up a session and removing it. Naturally, all server functions should work only after authorization.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question