# How to retrieve a session to get session properties?

**URL:** <https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524>\
**Category:** Community & Industry Discussion\
**Tags:** host, online-session, function-library, unreal-engine, session, question\
**Created:** [November 24, 2015, 2:03pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524 "2015-11-24T14:03:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![skeleton60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skeleton60](https://forums.unrealengine.com/u/skeleton60)\
**Post date:** [November 24, 2015, 2:03pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/1 "2015-11-24T14:03:41Z")

</div>

How do i get current session information?

i know as a client i can search for session with find session node that ouput a session object so i can get information with it

but if i am already the host of the session, how i would retrieve session information? i dont see any blueprint node “get session” or something like this

if i need c++ to do it, how would i get it from a blueprint function library? 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![Davixe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davixe](https://forums.unrealengine.com/u/Davixe)\
**Post date:** [February 12, 2016, 1:13pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/2 "2016-02-12T13:13:44Z")

</div>

I got the same question, did you find the solution?

---

<div class="post-metadata">

**Author:** ![skeleton60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skeleton60](https://forums.unrealengine.com/u/skeleton60)\
**Post date:** [February 12, 2016, 1:50pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/3 "2016-02-12T13:50:44Z")

</div>

no solution yet

---

<div class="post-metadata">

**Author:** ![Davixe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davixe](https://forums.unrealengine.com/u/Davixe)\
**Post date:** [February 12, 2016, 6:41pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/4 "2016-02-12T18:41:09Z")

</div>

In your GameInstance class, you can create a function blueprintcallable (if you need for your blueprints) and inside call:

```
IOnlineSessionPtr Sessions = IOnlineSubsystem::Get()->GetSessionInterface();
FOnlineSessionSettings* CurrentSettings = Sessions->GetSessionSettings(GameSessionName);

```

This way you can acces to your settings.

Hope it helps 🙂

---

<div class="post-metadata">

**Author:** ![skeleton60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skeleton60](https://forums.unrealengine.com/u/skeleton60)\
**Post date:** [February 12, 2016, 10:16pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/5 "2016-02-12T22:16:48Z")

</div>

thanks for your answer

---

<div class="post-metadata">

**Author:** ![the\_hack](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@the\_hack](https://forums.unrealengine.com/u/the_hack)\
**Post date:** [May 23, 2019, 10:07am UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/6 "2019-05-23T10:07:40Z")

</div>

Is this possible in blueprints? I need to get around a steam bug where session player count is not updated.

---

<div class="post-metadata">

**Author:** ![jacksonnexhip](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacksonnexhip/32/494650_2.png) [@jacksonnexhip](https://forums.unrealengine.com/u/jacksonnexhip)\
**Post date:** [February 8, 2022, 7:30am UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/7 "2022-02-08T07:30:07Z")

</div>

Would also like to know this

---

<div class="post-metadata">

**Author:** ![TotalSoftware](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TotalSoftware](https://forums.unrealengine.com/u/TotalSoftware)\
**Post date:** [June 28, 2022, 9:29pm UTC](https://forums.unrealengine.com/t/how-to-retrieve-a-session-to-get-session-properties/339524/8 "2022-06-28T21:29:15Z")

</div>

I also need to get the current session in blueprint, anyone found out how?
