NetTalk Central

Author Topic: One liner Method - assign variable and session value  (Read 1392 times)

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
One liner Method - assign variable and session value
« on: March 22, 2013, 02:23:07 AM »
Hi,

I am sure I saw something like this, but my memory is weak...

    Image:QuoteNo = p_web.gsv('q:quoteno')
    p_web.ssv('Image:QuoteNo',Image:QuoteNo)

Is there a one liner to do this, ie take the value of    p_web.gsv('q:quoteno')

and assign it to  Image:QuoteNo   and it's   Session Value?

Thanks
Charl

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11191
    • View Profile
Re: One liner Method - assign variable and session value
« Reply #1 on: March 22, 2013, 06:58:44 AM »
no, offhand I don't think there's a "CopySSV" command. So what you have is correct.

cheers
Bruce