Source/NFX/ApplicationModel/BaseSession.cs
/// <summary>
/// Generates new GUID and stores it in ID storing old ID value in OldID property which is not serializable.
/// The implementations may elect to re-stow the existing session under the new ID.
/// This method is usefull for security, i.e. when user logs-in we may want to re-generate ID
/// </summary>
Generates new GUID and stores it in ID storing old ID value in OldID property which is not serializable.
The implementations may elect to re-stow the existing session under the new ID.
This method is usefull for security, i.e. when user logs-in we may want to re-generate ID
Generates new GUID and stores it in ID storing old ID value in OldID property which is not serializable . The implementations may elect to re - stow the existing session under the new ID . This method is usefull for security i . e . when user logs - in we may want to re - generate ID
public void RegenerateID()
            {
              if (m_OldID.HasValue) return;
              m_OldID = m_ID;
              m_ID = Guid.NewGuid();
              m_IDSecret = ExternalRandomGenerator.Instance.NextRandomUnsignedLong;
            }
public void RegenerateID ( ) { if ( m_OldID . HasValue ) return ; m_OldID = m_ID ; m_ID = Guid . NewGuid ( ) ; m_IDSecret = ExternalRandomGenerator . Instance . NextRandomUnsignedLong ; }
Generates new GUID and stores it in ID storing old ID value in OldID property which is not serializable.
Generates new GUID and stores it in ID storing old ID value in OldID property which is not serializable .