def store_realtime_session_redis
			# store session data or any authentication data you want here, generate to JSON data
			session_data = {
					"user_id" => realtime_user_id,
			}

			# todo: merge additional session data passed in

			stored_session_data = JSON.generate(session_data)

			RedisWrapper.redis.hset(
				"rtSession-" + realtime_user_id.to_s,
				@realtime_token,
				stored_session_data,
			)

			# expire this realtime session after one day.
			RedisWrapper.redis.expire("rtSession-" + realtime_user_id.to_s, 86400)
		end
def store_realtime_session_redis
			# store session data or any authentication data you want here, generate to JSON data
			session_data = {
					"user_id" => realtime_user_id,
			}

			# todo: merge additional session data passed in

			stored_session_data = JSON.generate(session_data)

			RedisWrapper.redis.hset(
				"rtSession-" + realtime_user_id.to_s,
				@realtime_token,
				stored_session_data,
			)

			# expire this realtime session after one day.
			RedisWrapper.redis.expire("rtSession-" + realtime_user_id.to_s, 86400)
		end
create shared session tokens for redis/socketio realtime server running on node.js