I noticed this as well.  I fixed it by doing the following:
<map:match pattern="login">
           <map:act type="auth-logout">
               <map:parameter name="handler" value="PortalHandler"/>
           </map:act>
           <map:act type="auth-login">
               <map:parameter name="handler" value="PortalHandler"/>
<map:parameter name="parameter_userid" value="{request-param:userid}"/> <map:parameter name="parameter_password" value="{request-param:password}"/>
               <map:redirect-to uri="portal/LingoPoint"/>
           </map:act>
           <map:read mime_type="html/text" src="login.html"/>
       </map:match>

Basically do a logout first and then do the login stuff.  Works really well.

Brian

[EMAIL PROTECTED] wrote:
If one logs in, then presses the back button and logs in again one gets
the following error, instead of being redirected inside:

org.apache.cocoon.ProcessingException: User is already authenticated
using handler: demohandler
<map:mount> - context://samples/blocks/sitemap.xmap - 66:68

How does one avoid this?

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


begin:vcard
fn:Brian Hawkins
n:Hawkins;Brian
org:;Development
adr:suite A122;;34 E 1700 S;Provo;UT;84606;USA
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:801-705-9306
x-mozilla-html:TRUE
url:http://www.lingotek.com
version:2.1
end:vcard


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

Reply via email to