it sounds as though you are using a member variable.
Most likely the problem is the infamous 'session bleed', which has been
discussed here a lot. You can't depend on member variables to hold values
between web events.
-- Curt Springer, Team ND
At 05:03 AM 9/7/99 -0700, Sreeja wrote:
>Hi,
>
>In our project we have a class that acts as the base class for all the
>pages in the project.
>The methods of this class are used by the derived classes to set user
>session variables.
>The class also has a vector of vectors data member, which is populated by
>the derived classes.
>I am facing a weird problem in which this data member is getting lost
>randomly.
>
>For example, page A has a table and clicking on an href on a row, takes to
>page B.
>When I log the data member in page A's onBeforeHtmlOutputEvent, I find
>that it is there.
>But when I log the same data member in the webEvent of the href, it
>is sometimes blank.
>At times, I get it also. The behaviour is very random, testing for the
>same row twice
>using Back button, logs the data at times, gives a blank list at times.
>Can't afford to loose
>data from this member variable since it has to be passed to the next page.
>
>Has anyone come across such a problem? Any solutions?
>TIA.
>Sreeja
>
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]