在基于向导的应用程序中存储状态 [英] Storing State in a Wizard based Application

查看:95
本文介绍了在基于向导的应用程序中存储状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个基于向导的Web应用程序组件,它有几个步骤,那么在提交到服务器之前,最好的方法是存储间歇性数据。我应该将它缓存在应用程序或Web服务器或其他东西上。让我们假设一些向导步骤
包含大约10到15行的表格数据。

解决方案

我会使用会话状态。最容易实现的是InProc。


https://msdn.microsoft.com/en-us/library/ms178581.aspx?f=255&MSPPError=-2147217396


If i have a Wizard based Web Application Component which has several steps , whats the best way to store intermittent data before submitting to the Server. Should i cache it on the App or Web Server or something else. Lets assume some of the wizard steps contain tabular data with around 10 to 15 rows.

解决方案

I would use Session State. The easiest to implement is InProc.

https://msdn.microsoft.com/en-us/library/ms178581.aspx?f=255&MSPPError=-2147217396


这篇关于在基于向导的应用程序中存储状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆