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.
From a WebFOCUS report, can I read or write cookies? I'm unable to find anything on it, so I'm guessing not.This message has been edited. Last edited by: GavinL,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
I just tested a simple cookie example using JavaScript (copy pasted from w3schools) and it worked without issue.
Would have to be part of the HTML page so I don't think could use the auto-prompter. Other than that I don't see why wouldn't be able to unless there is security or user settings overriding them.
Yea, I can use JavaScript to read/write, but what I'm trying to do is have JavaScript or WebFOCUS read a cookie and use it as a parameter within a where clause.
Since currently portal pages, can't pass params to other portal pages, we write things to public session variables "&&MYVAR" that can only be seen by the user executing it. We had some Magnify stuff, that when click were setting these public variables, but looks as if Magnify is within it's own session and the public variables would be _FOC_NULL once a new portal page was opened. Since that time we found a way around all that, by going through "/ibi_apps/WFServlet.ibfs?IBIF_webapp=/ibi_apps&|IBIC_server=EDASERVE" instead.. We thought cookies would of been a good opportunity if it worked.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Well I'll need to test to make sure but it might be possible with a custom HTML page to add a hidden input like it does with the amper variable ibif_ex for example.
That way it would be passed to a report as a variable and could be used as normal.
I'll try to get an example together tomorrow but thought if there is a time restraint might be a place to start at least. Plus since I am not using WebFOCUS 8 yet there may be some differences.