Removed unused BO from session


Author
Message
ChanKK
ChanKK
StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)StrataFrame User (414 reputation)
Group: Forum Members
Posts: 190, Visits: 1.3K
Hi,
As SF's web page create and store BO instance at session. Anyway to remove unused BO instance without need to wait till session timeout?

For example, when navigate to Form A, it uses BOA, BOB and BOC,
when navigate to FormB, it uses BOX, BOY and BOZ.

My question is, since BOA, BOB and BOC no longer needed, how to clear them?
I was thinking to override SF Base Page and add prefix to BO session name. Before InitializeBusinessObject and NOT postback, remove all BOs from session which its session name with prefix as desired. However, it might not works as end user might open more than one page at the same time (FormA and Form in 2 browser tabs).

Any advice?

Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search