session state

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chris w.

    #1

    session state

    The situation:
    We have a table that contains usercontrols. In the
    usercontrols, there is input that we want to keep
    throughout the session.

    But are finding it difficult to get the variable values
    from other usercontrols.

    What does .NET suggest we do now that we are discouraged
    from using Session variables?

    Thanks for any help!

    chris
  • Marina

    #2
    Re: session state

    Why are you discouraged from using session variables?

    ..NET does not discourage the use of session variables. That is why it has 3
    different models for maintaining session state.

    "chris w." <cbw@onlinech2m .com> wrote in message
    news:0baa01c34c 79$63883310$a50 1280a@phx.gbl.. .[color=blue]
    > The situation:
    > We have a table that contains usercontrols. In the
    > usercontrols, there is input that we want to keep
    > throughout the session.
    >
    > But are finding it difficult to get the variable values
    > from other usercontrols.
    >
    > What does .NET suggest we do now that we are discouraged
    > from using Session variables?
    >
    > Thanks for any help!
    >
    > chris[/color]


    Comment

    • Bill Priess

      #3
      Re: session state

      Agreed. In fact, you could say that ASP.NET promotes the use of more session
      state management than previous ASP did.

      :)

      Bill P.

      "Marina" <zlatkinam@nosp am.hotmail.com> wrote in message
      news:OYcnr%23HT DHA.2148@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > Why are you discouraged from using session variables?
      >
      > .NET does not discourage the use of session variables. That is why it has[/color]
      3[color=blue]
      > different models for maintaining session state.
      >
      > "chris w." <cbw@onlinech2m .com> wrote in message
      > news:0baa01c34c 79$63883310$a50 1280a@phx.gbl.. .[color=green]
      > > The situation:
      > > We have a table that contains usercontrols. In the
      > > usercontrols, there is input that we want to keep
      > > throughout the session.
      > >
      > > But are finding it difficult to get the variable values
      > > from other usercontrols.
      > >
      > > What does .NET suggest we do now that we are discouraged
      > > from using Session variables?
      > >
      > > Thanks for any help!
      > >
      > > chris[/color]
      >
      >[/color]


      Comment

      Working...