Hello Team,

Does the Formspider keep session for the code below?

api_application.run( .., in_browserWindowName_tx => '_self', in_keepSession_yn = 'Y')

When I do:

api_session.add( 'var', 'val');
api_application.run( .., '_self', 'Y');

and (in the application which is called in the same tab)

-- return NULL-value
api_session.getValueTx( 'var')

if I just change

-- change window-name
api_application.run( .., 'win12345', 'Y');

I've got a new tab in a browser and a 'val' from api_session.

Thanks, Andrew

asked 25 Oct '13, 04:37

Andrew%20Pouckatch's gravatar image

Andrew Pouck...
168
accept rate: 0%


Hi Andrew,

Both use cases worked for me.

Is it possible that you are sending the Y to the wrong input parameter? the in_keepSession_yn is the 5th (last) parameter in the API. But there is another deprecated input parameter between the in_browserwindowname_tx and the in_keepSession_yn parameters. If you wrote the code the way you wrote the 2nd and 3rd examples above, the value Y will not be assigned to the in_keepSession_yn parameter.

-- change window-name
api_application.run( .., 'win12345', 'Y');

However, if you write the way you wrote the first time above, it would work correctly.

api_application.run( .., in_browserWindowName_tx => '_self', in_keepSession_yn = 'Y')

Here is the link to the API documentation.

Hope this helps.

Kind Regards,
Yalim

link

answered 25 Oct '13, 12:59

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×16
×1

Asked: 25 Oct '13, 04:37

Seen: 937 times

Last updated: 25 Oct '13, 12:59


© Copyright Gerger 2017