How to simulate a human interaction in a webpage in a attempt to avoid losing connection from the server? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to simulate a human interaction in a webpage in a attempt to avoid losing connection from the server?

I need to keep on the session of a website (that means, after login, i won't be logged off automatically after a while). Of course this depends on functions behind it, but... what would be a way to keep me logged for hours in this page?

14th Nov 2018, 6:27 PM
Daniel Bandeira
Daniel Bandeira - avatar
2 Answers
+ 2
How about some Cookies ? 😃 EDIT: btw dont save the login credential in cookie, that's bad idea. simply create a token to identified the user
14th Nov 2018, 11:51 PM
Taste
Taste - avatar
0
I don't know nothing about cookies... thank you fot giving me a good direction
15th Nov 2018, 1:20 AM
Daniel Bandeira
Daniel Bandeira - avatar