Hello all! i have some troubles using the sessionstate matcher in a pipeline. I want to check for the existance of a session attribute, and when it doesn't exist we should be redirected to a login page:
But i got lots of errors when i call want to use this pipeline...
<map:pipeline>
<map:match pattern="*" type="sessionstate">
<map:parameter name="attribute-name" value="user"/>
<map:redirect uri="login/login.xml"/>
</map:match>
<map:match pattern="**/*.css">
<map:read src="css/{2}.css" mime-type="text/css"/>
</map:match>
<map:match pattern="images/**.*">
<map:read src="images/{1}.{2}" mime-type="image/{2}"/>
</map:match>
<map:match pattern="**/*.js">
<map:read src="jscript/{2}.js" mime-type="text/javascript"/>
</map:match>
<map:match pattern="applets/**">
<map:read src="applets/{1}" mime-type="application/octet-stream"/>
</map:match>
<map:match pattern="*/**">
<map:mount uri-prefix="{1}" src="{1}/" check-reload="yes"/>
</map:match>
</map:pipeline>
thx, Chris
--
KNAPP Logistics Automation http://www.knapp.com
Ing. Christian J�lly Tel/FAX: (++43) 316 / 495 1926 / 495 394
G�nter-Knapp-Stra�e 5-7 A-8075 Hart bei Graz
-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah communist CIA DD2-N DISA DoD GRU Gregori
Irak Iran KGB Kurdish LSD NATO NSTD Natasha ORD RTEM Russia STRAP
Saddam Hussein TSP Yugoslavia attack bank bomb classfield cocain
compromise defense democracy destroy destruct detonator directorate
elections enforce extasy force foreign embassy government grass hashish
heroin illegal information international military systems missile
million dollars nuclear policital pot power presidental project
restricted data revolution rule the world sensitive smuggle spy steal
system takeover terrorist top-secret warmod warrior-T weapon weed
------------------------------------------------------------------------
msg20203/pgp00000.pgp
Description: PGP signature
