Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session lifetime #143

Open
ririko5834 opened this issue Jul 13, 2024 · 6 comments
Open

Session lifetime #143

ririko5834 opened this issue Jul 13, 2024 · 6 comments

Comments

@ririko5834
Copy link

Hello, how long is the session active? I used send2cgeo in my browser like last month and now I opened it today and it showed that my browser is not registered, I had to register it and enter pin from the cgeo app on my phone again. I didn't change phone or browser, or didn't clear cookies or anything like that.
Is there any expiration of the session?

@Lineflyer
Copy link
Member

IMHO the session should be valid as long as the cookie keeps stored in your local browser.
Maybe you have some cookie deletion policy in your browser?

@ririko5834
Copy link
Author

image
which one it is? the second one which has 1 month expiration?

my settings
image

@capoaira
Copy link
Contributor

That's a really annoying part of the script. Cookies expires or get deleted by browsers.
There are two issues about that: #12 and #48

If someone makes the server side code public, I'll try to address this issue. It shouldn't be that hard to store a token in the server side code and the script for authentication.

@mucek4
Copy link
Member

mucek4 commented Jul 14, 2024

Cookie expires in a month.
The plan to make code public is long ongoing, but it's merged with out (old) website and it runs in a sandbox, just the send2 part.

I'll see what I can do.

@mucek4
Copy link
Member

mucek4 commented Jul 16, 2024

The new cookie should be now valid for 1 year. I haven't had time to look into the rest of the code.

@ririko5834
Copy link
Author

Why the server side code isnt opensource?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants