I don't have access to session and can't create se...
# 🤝help
c
New to Botpress. I am not able to set a session variable. The docs make it sound straight forward but it doesn't allow me? I tried using both
event.state.session.testVar = "testValue"
and
session.testVar = "testValue
but no luck. Anyone able to point in the right direction? Am I missing something? Any help is greatly appreciated!
f
As far as I know, session variables aren't back, and it's just the agents using them. I would recommend you to watch this video

https://youtu.be/ep6ZtVrxxv4?si=WSq3ViuNuO38jGgV

Also, could you send me a link to the documentation page, that states they are back?
c
@fresh-fireman-491 Hey thanks for the response. Pretty raw here to botpress so wasn't sure if I was just missing something obvious and didn't know they were taken off https://botpress.com/docs/cloud/studio/variables/#session-variables here's a link to the documentation that I was reading. After watching the video I think it reiterates what I've been reading. Can I ask what you might mean by just the agents using them? When were session variables taken off?
f
I am sorry, I can see that it does. I got told they had been taken off a while ago, it was 01/31/24 I think. Maybe @crooked-van-25152 can help us here, or knows who can?
c
No worries, you're information has alleviated some of my confusion
f
That is great to hear!
125 Views