NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: charl99 on March 22, 2013, 02:23:07 AM

Title: One liner Method - assign variable and session value
Post by: charl99 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
Title: Re: One liner Method - assign variable and session value
Post by: Bruce 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