No, you can't put a timeout on it. That's now how session cookies work.
Again, if you want an application to stay logged in across browser
invocations, that is the application's responsibility.

I do not understand what you mean by "the application will register how the
user reads from the cas's database." Users and applications do not read
from CAS' database(s).

But if you log in directly to the CAS UI by going to
https://casserver/cas/login that's fine; once you're logged in just open
the application you want in the same invocation of the browser -- the same
window, a new window, a new tab, whatever.

--

DAVID A. CURRY, CISSP
*DIRECTOR • INFORMATION SECURITY & PRIVACY*
THE NEW SCHOOL • INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 646 909-4728 • [email protected]


On Fri, Sep 20, 2019 at 8:42 AM merve ceylan <[email protected]> wrote:

> Hi,
>
> The application will register how the user reads from the cas's database.
> After logging into the cas application with casuser without connecting the
> application, I close the browser and it is automatically logout. Is this
> Cas's working mechanism? Can't we put a timeout for that?
>
> Thanks,
>
> 20 Eylül 2019 Cuma 14:46:15 UTC+3 tarihinde David Curry yazdı:
>>
>> That's how it's supposed to work. The CAS cookies are session cookies.
>> When you end the session (close your browser), the cookies are deleted.
>>
>> Managing application sessions is outside of CAS' scope. If an application
>> wants to stay logged in across browser sessions, then that application
>> should have its own cookie to do that. Lots of applications do that if you
>> check some sort of "stay logged in" box -- Google, Facebook, Twitter, etc.
>>
>> --
>>
>> DAVID A. CURRY, CISSP
>> *DIRECTOR • INFORMATION SECURITY & PRIVACY*
>> THE NEW SCHOOL • INFORMATION TECHNOLOGY
>>
>> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
>> +1 646 909-4728 • [email protected]
>>
>>
>> On Fri, Sep 20, 2019 at 2:25 AM merve ceylan <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> After logging in with cas, when I close the browser and open it again,
>>> it becomes a logout and the login screen appears again. Session closes and
>>> the cookie is deleted. What should I do to avoid logout when I close the
>>> browser?
>>>
>>> Thanks,
>>>
>>> --
>>> - Website: https://apereo.github.io/cas
>>> - Gitter Chatroom: https://gitter.im/apereo/cas
>>> - List Guidelines: https://goo.gl/1VRrw7
>>> - Contributions: https://goo.gl/mh7qDG
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CAS Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ed7e3085-7fbc-45a5-acd0-7db7fe9e575c%40apereo.org
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ed7e3085-7fbc-45a5-acd0-7db7fe9e575c%40apereo.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/a18de201-2fcc-4535-926a-8b7855659a57%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/a18de201-2fcc-4535-926a-8b7855659a57%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XANbRSSPvnNKXeycv-gA%2BFJrSoTykOyo-UNzNVkViRwcDg%40mail.gmail.com.

Reply via email to