简体   繁体   English

在网页之间传递值

[英]Passing values between web pages

I need to pass a dollar amount from one webpageto another webpage without letting the user modify the values when the values are passed between these pages. 我需要将金额从一个网页传递到另一网页,而不必在这些页面之间传递值时让用户修改这些值。 ie Page 1 (entry page) to Page 2 (confirmation page) 即第1页(输入页面)到第2页(确认页面)

What is the best way to do this? 做这个的最好方式是什么?

您可以将值存储到Session ,然后从第二页检索它。

如果数据不是很关键,您也可以尝试查看状态。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM