I am working with 5 different websites which have short session life, they log out in 10 - 15 mins of inactivity. I came up with browser extension to do the jon for me. and what I did so far:
- reloading the page.
- open another tab from the same host and close it automatically.
- switch tabs to be active automatically ( like every 2 minutes one of thes websites becomes active).
those seems to be working, but they had very bad user experience.
also, reloading the page might cause losses of the work that I am doing.
I tried to make some requests on the background but these websites use alot of headers and cookies which seems to be very hard to figure out how to use them.
is there a better way to stop logging off due to inactivity or a proper way to figure out which headers and cookies should I attach with my request??
I really don't know which stack these websites are using but it seems that they have a high security standards.