having an issue with sessionkeys
Posted: Mon Feb 10, 2020 10:35 am
Hi,
I'm having an issue with sessionkeys where when a user is disconnected or hits the back button on their browser the user can no longer reconnect to their session. I'm assuming if I were to send the same key when the user tries to reestablish the connection it work work the same as if they used a user/password login.
I was thinking of using cookies to save the session key until the user either logs out or is disconnected for more than two minutes. Once that condition is met, I assume the key expires and a new one would be needed.
Is my thinking correct on this?
Also, how long is the key good for before it expires? In other words, if a key is requested but the user doesn't immediately login, how long is the requested key valid? Is it time based, or based on fetching another key?
Thanks,
Craig
I'm having an issue with sessionkeys where when a user is disconnected or hits the back button on their browser the user can no longer reconnect to their session. I'm assuming if I were to send the same key when the user tries to reestablish the connection it work work the same as if they used a user/password login.
I was thinking of using cookies to save the session key until the user either logs out or is disconnected for more than two minutes. Once that condition is met, I assume the key expires and a new one would be needed.
Is my thinking correct on this?
Also, how long is the key good for before it expires? In other words, if a key is requested but the user doesn't immediately login, how long is the requested key valid? Is it time based, or based on fetching another key?
Thanks,
Craig