﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WebForms (How do I?)  » Clearing a BO on Webform</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 03 May 2026 00:52:20 GMT</lastBuildDate><ttl>20</ttl><item><title>Clearing a BO on Webform</title><link>http://forum.strataframe.net/FindPost29971.aspx</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have a web application where all the web&amp;nbsp;forms use a common application base page where the BOs are defined. One BO is only required by 1 page in the application and when this page is selected by the user the BO will be populated with approx 2000 records in the page load. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;Where should I clear this BO so that the 2000 records will not be&amp;nbsp;saved/restored to/from session variables for all subsequent pages that inherit from the same application base page?&lt;br/&gt;&lt;br/&gt;Best regards,&lt;br/&gt;&lt;br/&gt;Andy</description><pubDate>Thu, 12 May 2011 02:30:10 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: Clearing a BO on Webform</title><link>http://forum.strataframe.net/FindPost29977.aspx</link><description>Thanks Greg,&lt;br/&gt;&lt;br/&gt;I have a number of subroutines in the application base page, that are common to all pages, to control session timeouts and menu option availability so hence my preference to have a single base&amp;nbsp;page. I guess I can add another level of subclass&amp;nbsp;and create a second application base page, but, if I am understanding the framework correctly,&amp;nbsp;even if I do this the 2000 odd records will be saved in a session variable that will not ever be cleared unless I clear the BO explicitly somewhere. &lt;br/&gt;&lt;br/&gt;What I am trying to determine is where the best place is to clear it,&lt;br/&gt;&lt;br/&gt;Best regards,&lt;br/&gt;&lt;br/&gt;Andy</description><pubDate>Thu, 12 May 2011 02:30:10 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: Clearing a BO on Webform</title><link>http://forum.strataframe.net/FindPost29976.aspx</link><description>I did mention I wasn't a web guru right?&amp;nbsp; &lt;span&gt;;)&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Any reason your not just creating a base page for just this one form?&lt;br/&gt;&lt;br/&gt;Hopefully someone who's done some more extensive web dev with SF will step in soon....&amp;nbsp; &lt;span&gt;:)&lt;/span&gt;</description><pubDate>Wed, 11 May 2011 19:12:52 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Clearing a BO on Webform</title><link>http://forum.strataframe.net/FindPost29975.aspx</link><description>Hi Greg,&lt;br/&gt;&lt;br/&gt;Thanks - this will work in some situations but what if I need&amp;nbsp;to reference the contents of the BO in a callback or postback to the page that loaded the BO?&lt;br/&gt;&lt;br/&gt;best regards,&lt;br/&gt;&lt;br/&gt;Andy</description><pubDate>Wed, 11 May 2011 18:19:58 GMT</pubDate><dc:creator>Andrew Harper</dc:creator></item><item><title>RE: Clearing a BO on Webform</title><link>http://forum.strataframe.net/FindPost29974.aspx</link><description>I'm not a web guru, but I'd try the page Unload event first.</description><pubDate>Wed, 11 May 2011 12:52:44 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>