Re: User control remember state across pages without session
- From: "KMA" <kma@xxxxxxxx>
- Date: Fri, 21 Oct 2005 16:45:43 +0200
Well, the control state isn't "global", is it. It depends on the client, or
session of that client to be precise. What's your objection to using session
state to store the state of the session?
"McGeeky" <anon@xxxxxxxx> wrote in message
news:OzkY91k1FHA.1256@xxxxxxxxxxxxxxxxxxxxxxx
> No. It could be different for each client
>
> --
> McGeeky
> http://mcgeeky.blogspot.com
>
>
> "KMA" <kma@xxxxxxxx> wrote in message
news:djatq6$igr$1@xxxxxxxxxxxxxxxxxxxx
> > should the state of the UC be the same for all clients?
> >
> > "McGeeky" <anon@xxxxxxxx> wrote in message
> > news:uhVVbRk1FHA.3564@xxxxxxxxxxxxxxxxxxxxxxx
> >> Is there a way to get a user control to remember its state across
pages?
> >> I
> >> have a standard page layout I use with a header and footer as user
> > controls.
> >> Each page uses the same layout by means of copy paste (I hear this will
> >> improve in ASP.Net 2 via master pages).
> >>
> >> When I navigate from one page to the next the header and footer user
> >> controls lose their state because they are effectively different
> >> instances
> >> of the user control.
> >>
> >> Is there any way I can make the state of the user control exist between
> >> pages?
> >>
> >> Preferably without the use of hand coding the storing of data in the
> > session
> >> or passing parameters to the user control on each page that includes
it.
> > Is
> >> there a way of making the user control state "global"?
> >>
> >> Thanks!
> >>
> >> --
> >> McGeeky
> >> http://mcgeeky.blogspot.com
> >>
> >>
> >>
> >
> >
>
>
.
- References:
- Prev by Date: Re: User control remember state across pages without session
- Next by Date: Re: DataReader and RecordCount
- Previous by thread: Re: User control remember state across pages without session
- Next by thread: Re: User control remember state across pages without session
- Index(es):
Relevant Pages
|
Loading