Paolo
Posts: 0
Joined: Thu Apr 12, 2012 9:51 am

Set Session Storage Variable

why in "Add Action" don't you insert also the voice "Set Session Storage Variable"?
There is another fast way to set a session sorage variable?
thanks

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Set Session Storage Variable

Use Set Local Storage variable.

Paolo
Posts: 0
Joined: Thu Apr 12, 2012 9:51 am

Set Session Storage Variable

but I'd like to save a variable as session variable and not as local variable...just for one session

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Set Session Storage Variable

Use Run Custom JavaScript and use Session Storage: http://html5app.com/blog/?cat=43

Paolo
Posts: 0
Joined: Thu Apr 12, 2012 9:51 am

Set Session Storage Variable

yes I already use thanks, my thread was just an advice for a next version of Tiggzi to add another voice "Set Session Storage Variable" in "Add Action"

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Set Session Storage Variable

I guess we could add an option to the existing action which storage you want to use.

Paolo
Posts: 0
Joined: Thu Apr 12, 2012 9:51 am

Set Session Storage Variable

yes it will be better ;-)

Bryce
Posts: 0
Joined: Thu Oct 03, 2013 6:08 am

Set Session Storage Variable

Hello. I'd like to pick up on this thread and ask a question about sessionStorage.

I understand that I can set a "sessionStorage" variable using javascript
ie.
presessionStorage.setItem('{itemname}', '{value'})/pre

However, how can I then use a sessionStorage value to map to a Request, or to map from a Response in the service mapping UI in Appery?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Set Session Storage Variable

Hello Bryce,

In mapping editor you can use 'add JS' fields for passing sessionStorage values.

Bryce
Posts: 0
Joined: Thu Oct 03, 2013 6:08 am

Set Session Storage Variable

Hello. Can you expand on this a bit more please? Where/how to I "add JS field"?

In the screen shot below, you can see that I have the option to add "Local Storage Variable" only... where do I add JS field?
Image

Return to “Issues”