cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <joose.vettenra...@intertechnika.com>
Subject Re: session tracking without cookies [NO-SOLUTION?]
Date Wed, 29 Oct 2003 09:21:18 GMT
ke, 2003-10-29 kello 10:21, Joose Vettenranta kirjoitti:
> 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.

Seems like I can't make it to work how I try it.

Seems like I have to make a new way of thinking of sessions. Maybe
generetion that directory with same id and auth string that I used with
authentication.. Like this:

http://host/{id}.{auth}/

Seems like that is only way to do it with absolute certainly.

- Joose

> 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, Intertechnika Oy
E-Mail: joose.vettenranta@intertechnika.com
WWW: http://www.intertechnika.com/
GSM: 044 561 0270


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


Mime
View raw message