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 data, improve documentation #16

Open
massimosala opened this issue Oct 28, 2019 · 5 comments
Open

Session data, improve documentation #16

massimosala opened this issue Oct 28, 2019 · 5 comments

Comments

@massimosala
Copy link

Hi
Two questions:
In the Session data, which is the format of the Expiration field?
Of the "not mandatory" fields, which ones does your module use?

Best regards, Sala

@mcarbonneaux
Copy link
Member

Expiration in exemple are not mandatory field is information field (only username, groups and remote ip are mandatory) .

the expiry is managed through memcache ttl and configured by Auth_memCookie_Memcached_SessionObject_ExpireTime apache options.

@massimosala
Copy link
Author

I already know that.

In the Session data, which is the format of the Expiration field?
time-to-live in seconds? unix epoch? datetime per rfc xxxx?

Many thanks, Sala

@mcarbonneaux
Copy link
Member

This field are not used by the module is only an exemple of information that can be stored in the session ... The apache configuration use number of secondes...

@mcarbonneaux
Copy link
Member

mcarbonneaux commented Oct 29, 2019

In login_post example they store the cookie expiry time that are in seconds... Is the same value used as memcache ttl in second... Logically they must be the same...

@massimosala
Copy link
Author

massimosala commented Oct 29, 2019

... The apache configuration use number of secondes...

Many thanks, this is the answer I was looking for: compatibility with the surrounding backend.

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

2 participants