ti, 2003-10-28 kello 19:08, Joose Vettenranta kirjoitti:

Hi,

that solution does work, but ONLY if browser won't use cookies. So, I
can't use <map:redirect-to uri="http://host/directory/"; /> If browser
won't have cookies.

And I have like this now:

> I have like this:
> 
>    <map:match pattern="*.*.html">
>     <map:act type="session-invalidator" />
>     <map:act type="xsp-action" src="logic/check-login.xsp">
>      <map:parameter name="id" value="{1}" />
>      <map:parameter name="auth" value="{2}" />
>      <map:redirect-to
> uri="http://host/{session-attr:dir}/";
> session="true" />
>     </map:act>
>     <map:redirect-to uri="http://host/access-denied.html"; />
>    </map:match>

and I have like:

<map:pattern="{session-attr:dir}/**"<
 <map:mount .... />
</map:pattern>

- Joose
-- 
Joose Vettenranta <[EMAIL PROTECTED]>  GSM: 044 561 0270
* Always remember that you are unique.
                          Just like everyone else.*


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to