Hi,

Delivery server question. I have some basic login and personalization stuff 
going on ion one of my projects.

What I want to get is a login failed error message to display above the 
form. 

If login fails I want to load the last page hey were on and I do this via 
passing the page url in the [#request:current-page#] variable and  that 
works.
Then I check for login errors and if there is one I write a request 
variable called msg

However when on my original page with the form I try to read it its not 
coming up.

Full dynamnet code is below and all help is as always appreciated.


<dynaments>
    <rde-dm:user mode="login"
            user="[#request:uname#]"
            password="[#request:password#]"
            login-content="login-content.xml"
            login-fail="[#request:current-page#]"
            result-attribute="login-return-code"
            relogin="true" />

    <rde-dm:attribute mode="condition" source="request" 
attribute="login-return-code" op="ne" value="0" >
        <rde-dm:attribute mode="write" source="request" attribute="msg" 
value="Login Failed." />
    </rde-dm:attribute> 
</dynaments>

- Dmitry

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/reddot-cms-users/-/TU48afTIsDkJ.
To post to this group, send email to reddot-cms-users@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to