cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <jo...@iki.fi>
Subject Re: session tracking without cookies [NO-SOLUTION?]
Date Wed, 29 Oct 2003 08:21:30 GMT
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 <joose@iki.fi>  GSM: 044 561 0270
* Always remember that you are unique.
                          Just like everyone else.*


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message