We are running at .net 4.5.1 MVC application on an azure website and we use Azure Active Directory linked to our Office 365
account for authentication. We used the WS Federation Authentication using the WS-Federation 1.2 Protocol. Currently after login, the Cookie that is set is only valid for one hour and after that hour the page has to be refreshed the a new cookie is acquired granting access for another hour. We would like to update the time this cookie is valid for to 24 hours. We tried to set the cookieHandler persistentSessionLifetime="24.0:0:0" under the federationConfiguration, but that did not work. Can anyone point us in the right direction? Thanks, James Barratt
account for authentication. We used the WS Federation Authentication using the WS-Federation 1.2 Protocol. Currently after login, the Cookie that is set is only valid for one hour and after that hour the page has to be refreshed the a new cookie is acquired granting access for another hour. We would like to update the time this cookie is valid for to 24 hours. We tried to set the cookieHandler persistentSessionLifetime="24.0:0:0" under the federationConfiguration, but that did not work. Can anyone point us in the right direction? Thanks, James Barratt