web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

problem R/W session variable

(0) ShareShare
ReportReport
Posted on by 30

Hi all,

I am new to the rms. I would like to write to and read from session variable.

dim a as string="123"

mySession.Variable(0,a)    'to write to variable

dim b as string = mySession.Variable(0)   'to read from variable

but somehow the write to variable can not work. And i search around google, I saw some example:

mySession.Variable(0)=a  'to write

when i tried to read, it return me NULL

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    do you have the mysession variable initialized prior to reading and writing.  

    I would double check the customization guide first to see the example

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans