Skip to main content

Notifications

Announcements

No record found.

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: problem R/W session variable

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans