Share the session information on all Primavera Portfolio Management application servers as follows.
Prerequisites
The following task must be completed.
- Setting up Persisting Session Information on Front-End Servers or
- Setting up Persisting Session Information on Back-End Servers
Procedure
Complete the following steps on all of the Windows servers (including the single Primary Back-End server, all Front-End servers, and all Secondary Back-End servers):
- Browse to C:\Program Files\Oracle\Primavera Portfolio Management\Portfolios\IisRoot
- Open
web.configusing Notepad. - Locate the section which looks like the following:
<sessionState mode="InProc" timeout="1440"/> - If an ASPState PPM database is created on the Microsoft SQL Server database server, modify this section:
<sessionState mode="SQLServer" sqlConnectionString="data source=sqlserver;user id=ASPState;password= ASPStatePassword" timeout="1440" />- Replace
sqlserverwith the actual name of the SQL Server hosting the ASPState database - Replace
ASPStatePasswordwith the actual password for this account.
- Replace
- If the PPM database is hosted on an Oracle database server and the ASP.NET State Service service has been created, modify this section:
<sessionState mode="StateServer"stateConnectionString="tcpip=ppmbackend:42424"timeout="1440" />- Replace
ppmbackendwith the actual name of the Primavera Portfolio Management Primary Back-End server. - If the default port was changed, replace
42424with the actual port number.
- Replace
- Locate the
<system.web>section. - Add the following new text in this section:
<machineKey validationKey="<NLB1>" decryptionKey="<NLB2>" validation="SHA1" decryption="AES" />- Replace
<NLB1>with the 128 hexadecimal characters, representing the 64-byte validation key used by the SHA1 hashing algorithm. - Replace
<NLB2>with the 64 hexadecimal characters, representing the 32-bit decryption key used by the AES encryption algorithm.
- Replace
- For more details on how to generate stronger keys, see http://msdn.microsoft.com/en-us/library/ms998288.aspx#paght000007_webfarmdeploymentconsiderations
- Save
web.config. - Close Notepad.