Skip to main content
removing extraneous text
Source Link
Pat Myron
  • 4.7k
  • 4
  • 30
  • 52

I am working with 5 different websites which have short session life, they log out in 10 - 15 mins of inactivity. I came up withmade a browser extension to do the jon for me. and what I did so far:

  1. reloadingreloads the page.
  2. open another tab from the same host and close it automatically.
  3. switch tabs to be active automatically ( like everyevery 2 minutes one of thes websitesthese sites becomes active).

those seems to be workingwork, but they had very bad user experience.

also, reloading Reloading the page might cause losses of thelose work that I am doing.

I tried to make somemaking requests on the background but these websites use alot ofmany confusing headers and cookies which seems to be very hard to figure out how to use them.

isIs 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 usinguse, but it seems that they have a high security standards.

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:

  1. reloading the page.
  2. open another tab from the same host and close it automatically.
  3. 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.

I made a browser extension:

  1. reloads the page.
  2. open another tab from the same host and close it automatically.
  3. switch tabs to be active automatically (every 2 minutes one of these sites becomes active).

those work, but they had bad user experience. Reloading the page might lose work.

I tried making requests on the background but these websites use many confusing headers and cookies.

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?

I don't know which stack these websites use, but they have high security standards.

Source Link
Ahmad Ali
  • 784
  • 2
  • 11
  • 29

how to prevent websites from log you out due to inactivity

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:

  1. reloading the page.
  2. open another tab from the same host and close it automatically.
  3. 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.