I have a logon form web part on a branched section of my site. Once a user successfully logs in, they are taken to a predefined URL that is stored in a custom user field when the user registers. The issue I am running into is that it takes two submissions on the logon form for the user to be truly "logged in." Any thoughts on why a double submission might be needed? My value in the Logon form web part for the "Default Target URL" is set to "{%cmscontext.currentuser.redirecturl#%}" where "redirecturl" is the custom field.
Is this similar to what you're experiencing and a possible solution?
http://devnet.kentico.com/questions/multiple-logon-forms-how-to-direct-user-to-correct-form-based-on-what-they-re-trying-to-access
Thanks, but that's not it. I'm thinking I should just have the form go to a static URL vs. a dynamic one and then do a redirect based off of what is stored on the user.
Ok I follow you now. So you could create a webpart that does this. OR you could create a custom global event handler and capture the SecurityEvents and then perform your redirect there. This way it will be handled in all aspects and not just on a single page. Or if you're looking for a single page then the webpart is probably the best approach.
Please, sign in to be able to submit a new answer.