#: (Thomas Ferris Nicolaisen) changed the world a bit at a time by saying on
11/23/2005 6:23 PM :#
1- I created a website, The site is running on the public instance but
is need a user and password to acces the pages, After logging I want to
logout the website? is there a way to do this? A interface button or the
only way to leaving the session is closing the browser ?
Create a custom JSP or servlet that issues 'session.invalidate()' (see
J2EE docs). Then link to it via your custom made button, link or
whatever.
Thomas are you sure this is all that is needed?
I presumed that the login-information is stored in session the JSP
session-scope. Not sure how else it could be done.
I am not very sure about this. afaik Magnolia uses BASIC authentication and this info is added to
each request headers, so that I don't think it is enough to clean the session.
I think Sameer can help us here. I am also looking at having this functionality
;-).
./alex
--
.w( the_mindstorm )p.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------