[opencms-dev] Login issues
Alexander Wallace
aw at avatartechnology.com
Fri Aug 26 23:44:25 CEST 2005
try this:
<%@ page import="org.opencms.jsp.CmsJspLoginBean" %>
CmsJspLoginBean cmsLogin = new CmsJspLoginBean(pageContext, request,
response);
if (cmsLogin.isLoggedIn()) {
}
hope it helps...
On Friday 26 August 2005 02:52 pm, KDK wrote:
> I'm currently developing a website that is having problems with the
> login feature.
>
> User visits index.html and logs in.
> Gets redirected to login.html
>
> However if a user clicsk on index.html again, they are shown the login form.
>
> Even though I have code to check it the user exists
>
> <% if (user != null) { %>
>
> // perform redirect
>
> <% } %>
>
>
> This does not seem to work. Can anyone help me out ?
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list