How to get session ID of a running test via script with C#- NUnit?

How to get session ID of a running test via script with C#- NUnit?

Hey Rhian,

To get session ID of a running test via script with C#- NUnit, you can use the syntax below to get the session Id:

HttpContext.Current.Session.SessionID