You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "Weßling, Achim" <Ac...@gt-net.de> on 2002/09/23 16:14:12 UTC
isUserInRole??? - different Sessionbehavior in Mozilla and IE
Hallo,
I try to use the foolowing Code:
<%@ page contentType="text/html" pageEncoding="ISO-8859-1" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
<%@ taglib uri="http://java.infokomGT.de/taglib" prefix="infGT" %>
<html>
<head>
<title>Eigentümer Page</title>
</head>
<body>
<infGT:ifUserInRole value="albuser" var="albuser">
<%--
XML-Datei mit den entsprechenden ALB-Daten holen
--%>
<c:import
url="http://ims90183:8080/addon/servlet/AddOnEigentuemer" var="xmlflst">
<c:param name="gkz" value="${param.gkz}"/>
<c:param name="kennung" value="${param.kennung}"/>
</c:import>
You're in the 'albuser'-Role
<x:parse xml="${xmlflst}" var="flst"/>
<x:forEach select="$flst//flurstueck">
<p><x:out select="kennung"/></p>
</x:forEach>
</infGT:ifUserInRole>
<c:if test="${not albuser}">
You're NOT in the 'albuser'-Role
</c:if>
</body>
</html>
This page is opened from another page of my application, where the user is
allready authenticated. So normally the user has the role 'albuser'.
If I try this with IE 5.5 the role is transfered to the new browser-window
and the output says: You're in the 'albuser'-Role...
If t try this with Mozilla 1.1 the role isn't transfered and I get: You're
NOT in the 'albuser'-Role
How can I solve this????
Thanks!
Mit freundlichem Gruß
Achim Weßling
************************************************************************
**
INFOKOM Gütersloh
Fachbereich Technische Anwendungen / Zentrale Anwendungen
Tel.: 05241/85-2926
Achim.Wessling@gt-net.de
http://www2.infokom-gt.de/produkte
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>