On Thu, Nov 19, 2015 at 4:45 PM, Faiyaz Ahmed <[email protected]> wrote:
> Or is it possible to use ReWrite rule?

mod_rewrite has the ability of conditional rewriting based on cookies
(RewriteCond %{HTTP_COOKIE} regex), so in theory, that could be used.
However, I don't think you could do that without modifying DSpace,
because DSpace plants the JSESSIONID cookie regardless of whether your
session is anonymous or logged in. So you would have to modify DSpace
to set another cookie on login with expiration time matching length of
a login session, set it again on each page load while logged in to
prolong the expiration time and remove it when logging out. There
might still be a slight mismatch of the cookie and session expiry
time, though.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to