On 7 Jun, 14:07, Alexey Smirnov <alexey.smir...@gmail.com> wrote:
> On Jun 7, 2:08 pm, mark4asp <mark4...@gmail.com> wrote:
>
> > Q3: If I cache in the Session, apart from destroying the session
> > object (i.e the cached data) on leaving the page - are there any other
> > major considerations?
>
> Session lives until the time specified for the session timeout
Thanks Alexey, the individual Session objects can be removed with
Session.Remove("TheName"). Furthermore I can write a class to run on
every page which overrides OnInit() to check that these session
objects have been killed when the user is no longer on that
appropriate page.
|