• <i id='0xPfw'><tr id='0xPfw'><dt id='0xPfw'><q id='0xPfw'><span id='0xPfw'><b id='0xPfw'><form id='0xPfw'><ins id='0xPfw'></ins><ul id='0xPfw'></ul><sub id='0xPfw'></sub></form><legend id='0xPfw'></legend><bdo id='0xPfw'><pre id='0xPfw'><center id='0xPfw'></center></pre></bdo></b><th id='0xPfw'></th></span></q></dt></tr></i><div id='0xPfw'><tfoot id='0xPfw'></tfoot><dl id='0xPfw'><fieldset id='0xPfw'></fieldset></dl></div>

  • <small id='0xPfw'></small><noframes id='0xPfw'>

    <legend id='0xPfw'><style id='0xPfw'><dir id='0xPfw'><q id='0xPfw'></q></dir></style></legend>

    1. <tfoot id='0xPfw'></tfoot>
        • <bdo id='0xPfw'></bdo><ul id='0xPfw'></ul>
      1. 是否可以在 asp classic 和 asp.net 之间共享会话状态

        时间:2023-10-06
          • <bdo id='1Lbl7'></bdo><ul id='1Lbl7'></ul>

            1. <i id='1Lbl7'><tr id='1Lbl7'><dt id='1Lbl7'><q id='1Lbl7'><span id='1Lbl7'><b id='1Lbl7'><form id='1Lbl7'><ins id='1Lbl7'></ins><ul id='1Lbl7'></ul><sub id='1Lbl7'></sub></form><legend id='1Lbl7'></legend><bdo id='1Lbl7'><pre id='1Lbl7'><center id='1Lbl7'></center></pre></bdo></b><th id='1Lbl7'></th></span></q></dt></tr></i><div id='1Lbl7'><tfoot id='1Lbl7'></tfoot><dl id='1Lbl7'><fieldset id='1Lbl7'></fieldset></dl></div>

              <small id='1Lbl7'></small><noframes id='1Lbl7'>

              <legend id='1Lbl7'><style id='1Lbl7'><dir id='1Lbl7'><q id='1Lbl7'></q></dir></style></legend>

              <tfoot id='1Lbl7'></tfoot>
                <tbody id='1Lbl7'></tbody>
                  本文介绍了是否可以在 asp classic 和 asp.net 之间共享会话状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我们正在将 ASP Classic 网站迁移到 ASP.Net.最大的障碍之一是 ASP Classic 网站在 SessionState 中存储的大量数据.

                  We are migrating an ASP Classic website over to ASP.Net. One of the big hurdles is the large amount of data stored in SessionState by the ASP Classic website.

                  我正在寻找可以在两个应用程序之间共享会话状态的方法.我从 microsoft MSDN 中找到了以下链接,该链接描述了如何与一个共享数据库.不幸的是,它使用二进制格式化程序序列化到数据库中,而我最近对上述二进制序列化有一些不好的经验.

                  I am looking for ways that session state can be shared between the two applications. I found the following link from microsoft MSDN that describes how to share session with a shared database. Unfortunately it uses the binary formatter to serialize into the database and I have recently had some bad experiences with said binary serialization.

                  有没有人对如何共享会话状态有其他建议?或二进制序列化的替代方案?

                  Does anyone have other suggestions on how to share session state? or alternatives to the binary serialization?

                  推荐答案

                  您链接到的 MSDN 文章是最好的方法.您可以使用 cookie、隐藏的表单字段、查询字符串参数或任何数量的其他变通办法",但所有这些都是 hack,并且都有问题(安全问题,只是不能正常工作,比完全重写更多的工作等)

                  The MSDN article you linked to is the best way. You can use cookies, hidden form fields, querystring parameters, or any number of other "workarounds" but all of them are hacks, and all have problems (security concerns, just don't work right, more work than a total re-write, etc.)

                  这篇关于是否可以在 asp classic 和 asp.net 之间共享会话状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:从经典 ASP 访问 .NET 程序集 下一篇:ASP 到 ASP.NET 会话变量

                  相关文章

                    <bdo id='2puF1'></bdo><ul id='2puF1'></ul>

                      <small id='2puF1'></small><noframes id='2puF1'>

                      <i id='2puF1'><tr id='2puF1'><dt id='2puF1'><q id='2puF1'><span id='2puF1'><b id='2puF1'><form id='2puF1'><ins id='2puF1'></ins><ul id='2puF1'></ul><sub id='2puF1'></sub></form><legend id='2puF1'></legend><bdo id='2puF1'><pre id='2puF1'><center id='2puF1'></center></pre></bdo></b><th id='2puF1'></th></span></q></dt></tr></i><div id='2puF1'><tfoot id='2puF1'></tfoot><dl id='2puF1'><fieldset id='2puF1'></fieldset></dl></div>

                    1. <legend id='2puF1'><style id='2puF1'><dir id='2puF1'><q id='2puF1'></q></dir></style></legend>
                      <tfoot id='2puF1'></tfoot>