### Method

# WebKit2 WebView get_session_state

since: 2.12

#### Declaration [src]

    WebKitWebViewSessionState*
    webkit_web_view_get_session_state (
      WebKitWebView* web_view
    )

#### Description [src]

Gets the current session state of `web_view`.

Available since: 2.12

#### Return value

Type: `WebKitWebViewSessionState`

A `WebKitWebViewSessionState`.

The caller of the method takes ownership of the data, and is responsible for freeing it.