# How do I specify what session class is created when using the Create Session Node?

**URL:** <https://forums.unrealengine.com/t/how-do-i-specify-what-session-class-is-created-when-using-the-create-session-node/317041>\
**Category:** Blueprint\
**Tags:** unreal-engine, session, question, Blueprint\
**Created:** [May 1, 2015, 1:59am UTC](https://forums.unrealengine.com/t/how-do-i-specify-what-session-class-is-created-when-using-the-create-session-node/317041 "2015-05-01T01:59:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erdrik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Erdrik](https://forums.unrealengine.com/u/Erdrik)\
**Post date:** [May 1, 2015, 1:59am UTC](https://forums.unrealengine.com/t/how-do-i-specify-what-session-class-is-created-when-using-the-create-session-node/317041/1 "2015-05-01T01:59:22Z")

</div>

In the ShooterGame Example, it has a custom Session class, with a bunch of session related variables in it.  
I would like to do the same for my game but currently I implement creation, searching, ect of sessions purely by blueprint in UMG widget blueprint panels.  
The Create Session node does not have a session input, so I was wondering if there is currently a way to tell it what class of Session to create?

---

<div class="post-metadata">

**Author:** ![Commander\_Shepard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Shepard](https://forums.unrealengine.com/u/Commander_Shepard)\
**Post date:** [November 12, 2015, 12:25am UTC](https://forums.unrealengine.com/t/how-do-i-specify-what-session-class-is-created-when-using-the-create-session-node/317041/2 "2015-11-12T00:25:45Z")

</div>

In ShooterGameMode.cpp

/\*\* Returns game session class to use \*/  
TSubclassOf AShooterGameMode::GetGameSessionClass() const  
{  
return AShooterGameSession::StaticClass();  
}
