| Stefan Goßner [MSFT] 2006-11-15, 7:20 am |
| Hi Sekar,
this is by design.
This change will not show up till the next round trip to the server as the
current CmsHttpContext already contains the old values.
Cheers,
Stefan
"Sekar" <Sekar@discussions.microsoft.com> wrote in message
news:1DDB8228-3151-433C-B56E-3B0810806A48@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> Please look the new modifed code below
> // Get the MCMS application context.
> CmsApplicationContext cmsContext = new CmsApplicationContext();
>
> // Logon to MCMS:
> // Assumes that you have Windows Authentication turned on.
> WindowsIdentity ident = HttpContext.Current.User.Identity as
> WindowsIdentity;
>
> // Make sure to set the context to Update mode (which means you can write
> // back to MCMS using PAPI).
> //cmsContext.AuthenticateUsingUserHandle(ident.Token,
> PublishingMode.Update);
>
> ..................
> ........................
> .......................
>
> CmsHttpContext.Current.CommitAll();
>
> But still its not taking the new values, Please help me.
>
> Thanks and Regards,
> Thenappan
>
> "Stefan Goßner [MSFT]" wrote:
>
|