Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How does a focexec get variables out of a POST cookie?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How does a focexec get variables out of a POST cookie?
 Login/Join
 
Virtuoso
posted
.


First of all, I'd like to say up front that this has nothing to do with the credential cookies that WebFOCUS uses for authentication.

We have a call for a focexec that is going to have an exceptionally long string. It exceeds the available url length for IE so we will pass it via a POST cookie.

Now, variables on the url string are magically turned into amper-variables in the called focexec. Does this happen with variables in the post cookie as well?

Any light you can shed . . .


.

This message has been edited. Last edited by: Kerry,



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
John,

As far as most people are concerned, POST and GET act the same way.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
.

Hey Tony -- who you calling "most people" eh?

I've done this calling Maintain and it appears that they're just variables like any other. I dig them out the same way as a GET variable. So I don't think it should make a difference. But there's no question in the forums specifically asking the question so I thought I'd see if anyone had done it.

I'll post a response when I find out. My wingman is coding the focexec and likely will know the results soon.

J.

.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
You don't have to worry how, I think it's a functionality of the HTML form, not WebFOCUS.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
.


This functioned exactly as expected. The variables within the POST cookie work exactly the same way as variables sent on the command line via a GET request. 2800 characters sent and received.

Thanks for tuning in folks!

J.


.



 
Posts: 1012 | Location: At the Mast | Registered: May 17, 2007Report This Post
Expert
posted Hide Post
Keep in mind that the way variables are passed to Maintain is different to passing to WF.

I've just done a quick test with passing a variable to WF (766)

Got up to a variable size of 30,000 chars, and gave up.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How does a focexec get variables out of a POST cookie?

Copyright © 1996-2020 Information Builders