When designing a MCMS website where forms authentication is the option to go to authenticate users it is very common that the login dialog should be included in a posting.
This will require that guest account is enabled for the site - otherwise the channel holding the posting that holds the login form could not be displayed. Something like a dog biting in its own tail.
After enabling guest account and creating a posting with the login form you need to configure the web.config to point to the URL of the posting. That will work fine till the authentication token expires. When this happens access to all CMS items is denied till either the user has logged out or has logged in again using a valid MCMS user.
In this situation the posting holding the login form cannot be displayed.
To solve this it we need to implement our own authorization module that replaces the module from MCMS and that rebuilds the functionality of the original module.The Url of the login page has to be configured in the appSettings section of the web.config:<configuration> <appSettings> <add key="LoginUrl" value="/loginchannel/loginpage" /> </appSettings> ...</configuration>To install the http module below you need to compile it as C# class library project and replace the reference to the CmsAuthorizationModule in the web.config with the reference to this module.
836895 - The query string arrays are not correctly passed to the posting
I had a problem while using this module...
Problem corrected in above code. Added the
check to solve the problems with the approval assistant.
Its fine now.
I have just started using cms from last month, i have a basic doubt here.
I have a website which we need to convert their content pages to mcms templates. even their home page. But as far as i have looked i am unable to view the home page as normal internet user because i have to login.
So can u help me where i just need to show the site as normal to anyone who hits my web site and have a seperate page where web authors can login to do their tasks.
check out how to enable guest access in MCMS in the MCMS documentation.
When using this solution, what does your authentication node in the web.config file look like? do you still have a loginUrl there?
have a look at the article. At the beginning is the web.config entry.
What I meant was the authorization node in web.config. do you have a forms authentication node there and, if so, do you specify a loginUrl there also?
The authorization node is the same as always when using forms authentication. No modification required. The loginUrl property of the authorization node is ignored.
PingBack from http://www.keyongtech.com/361208-user-verify