I'm developing a web application with oracle-ADF. I have a page with information of client, when i open a new page with an id of another client, and I reload the page, I will have he same information. The session is shared between the pages. The browser is IE.
How can I force to create a new session every time I open a new browser tab?
You have to specify a smaller scope to the taskflow of your page as it is set to session scope by default. (Data persist in the session variable of your browser) (cf. https://docs.oracle.com/cd/E15051_01/web.1111/b31974/adf_lifecycle.htm#ADFFD524 figure 21.3)
By default, the binding container and the binding objects it contains are defined in session scope. However, the values referenced by value bindings and iterator bindings are undefined between requests and for scalability reasons do not remain in session scope. Therefore, the values that binding objects refer to are valid only during a request in which that binding container has been prepared by the ADF lifecycle. What stays in session scope are only the binding container and binding objects themselves.
Use as follow :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.