Passing data between asp.net pages

后端 未结 4 788
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 05:15

I\'m wondering the opinion of what is the best way to pass a lot of values between MULTIPLE pages. I was thinking of either saving the values to a database, using context.It

4条回答
  •  时光说笑
    2020-12-17 05:55

    Session is probably the most efficient. However, if the session times out or is lost for any other reason, any entries are lost. So if persistence is more important, you may want to store it in the db.

提交回复
热议问题