StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WebForms (How do I?)
»
Removed unused BO from session
Removed unused BO from session
Post Reply
Like
1
Removed unused BO from session
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
ChanKK
ChanKK
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
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
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Removed unused BO from session
ChanKK
-
14 Years Ago
Well, you can remove the BOs from the session as they are just stored...
Trent L. Taylor
-
14 Years Ago
Hi The problem is, I don't know when to release it.. because I am not...
ChanKK
-
14 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search