locked
Which is the best alternatives other than Session in websites RRS feed

  • Question

  • User1686288870 posted

    can we use application variables instead of session or using the hidden controls is the best option coz my session  breaks so often so to avoid iam thinking of not using the session

    if you have any other ideas pls suggest with some examples

    Saturday, July 2, 2016 3:51 PM

Answers

  • User475983607 posted

    prasannaindia

    np i already referred it could not able to decide if any other way if you suggest it would be helpful

    MSDN has openly published documentation that explains each of the ASP.NET state management features.

    https://msdn.microsoft.com/en-us/library/75x4ha6s.aspx

    https://msdn.microsoft.com/en-us/library/z1hkazw7.aspx

    Please take the time to go through the documentation and find a solution that fits your requirement(s).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, July 3, 2016 7:27 PM
  • User61956409 posted

    Hi prasannaindia,

    You could refer to mgebhard‘s reply to compare advantages and disadvantages of using session and using hidden field. And we consider session timeout issue when we use session. Besides, if the data is very important, we could store it in database temporarily.

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 5, 2016 10:29 AM

All replies