[android-components](../../index.md) / [mozilla.components.browser.engine.system](../index.md) / [SystemEngine](index.md) / [createSession](./create-session.md)

# createSession

`fun createSession(private: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, contextId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?): `[`EngineSession`](../../mozilla.components.concept.engine/-engine-session/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-system/src/main/java/mozilla/components/browser/engine/system/SystemEngine.kt#L45)

Overrides [Engine.createSession](../../mozilla.components.concept.engine/-engine/create-session.md)

Creates a new WebView-based EngineSession implementation.

