API
Version 7.x > API > UserInfoProvider.UseSessionCookies obsolete? View modes: 
User avatar
Member
Member
Aon_Vlado - 11/7/2012 11:36:34 PM
   
UserInfoProvider.UseSessionCookies obsolete?
I just upgraded to V7 and got error
'CMS.SiteProvider.UserInfoProvider' does not contain a definition for 'UseSessionCookies' 
in my custom code. What is the replacement for UserInfoProvider.UseSessionCookies?
Thanks,
Vlado

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/8/2012 1:28:39 AM
   
RE:UserInfoProvider.UseSessionCookies obsolete?
Hi,

There were some API changes. This one is, however, not documented, This property was moved to: CMS.CMSHelper.AuthenticationHelper.UseSessionCookies

Best regards,
Juraj Ondrus

User avatar
Member
Member
Aon_Vlado - 11/8/2012 7:35:53 AM
   
RE:UserInfoProvider.UseSessionCookies obsolete?
Thank you for your help.