Authentication sinatra persistent through different apps

Hi
I have different web apps on the same server just in different ports and
I am authenticating users using LDAP, the problem is when I go from one
to another it is necessary to login again. I would like to make the
login in any of them persistent when I go to the others. Any idea how
can I manage to do it?
Thanks