Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想动态地将值传递给小程序的标签。我以这种方式从会话中获取 ID,并希望将 ID 值分配给小程序
var ID = Session[1];
这是将 ID 值动态传递给小程序的正确值还是有其他更好的方法。
对我来说似乎很好:
<applet ... <param name="someParamName" value="@Session["someKey"]" /> </applet>