Re: session advice

Tech-Archive recommends: Fix windows errors by optimizing your registry



how would a stateless environment handle the following scenario:
the user enters in search criteria,
the user is presented with a datagrid of records,
the user selects page 10 and selects a record,
after the user views/modify the record closes the record.

how do you return the user back to page 10 with
the same datagrid of records?

thanks,
ari


"Robbe Morris [C# MVP]" wrote:

> sort of stateless isn't stateless at all.
>
> Why bother moving things in and out of session?
> You'd still have to have session enabled and
> be subject to its limitations (especially in
> a web farm).
>
> --
> 2004 and 2005 Microsoft MVP C#
> Robbe Morris
> http://www.masterado.net
>
> Earn $$$ money answering .NET Framework
> messageboard posts at EggHeadCafe.com.
> http://www.eggheadcafe.com/forums/merit.asp
>
>
>
> "ari" <ari@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:38229354-C836-41CD-B1E6-5BB264CFBDC5@xxxxxxxxxxxxxxxx
> > hey all,
> >
> > i'm trying to make my app as stateless as possible. is it ok to create a
> > dataset and store in viewstate and whenever the user decides to select a
> > from
> > that dataset, to move from viewstate, to session, and on the details page
> > back to viewstate. Or does that sound like too much work?
> >
> > thanks,
> > ari
>
>
>
.



Relevant Pages

  • Re: session advice
    ... sort of stateless isn't stateless at all. ... Why bother moving things in and out of session? ... > that dataset, to move from viewstate, to session, and on the details page ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET with Datasets
    ... A asp webpage is stateless, that means that if you don't take special ... the first option can better be used) ... Before or after that you bind the datagrid, you set the dataset in the ... At a postback, you set the session.item back in the dataset, which you (to ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: session advice
    ... > sort of stateless isn't stateless at all. ... > Why bother moving things in and out of session? ... >> that dataset, to move from viewstate, to session, and on the details page ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using Session object to store dataset
    ... Yup, Session or ViewState but... ... >>I have a datagrid which enables paging and the data is displayed in it ... >> Why didn't the datagrid display the next few rows of data if Session ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Grid in ASP.Net like Windows Forms
    ... Try using something like an array which is less costly ... This can too be bound to a datagrid ... > session or viewstate, but i think this is very heavy, what do you think ...
    (microsoft.public.dotnet.framework.aspnet)