【问题标题】:N2CMS : Using Server.Transfer with contentItem pageN2CMS:将 Server.Transfer 与 contentItem 页面一起使用
【发布时间】:2014-02-11 14:45:10
【问题描述】:

是否可以在 2 个ContentItem 页面之间使用Server.Tranfer() 方法?我正在尝试用另一个替换其中的内容,但 Transfer() 方法会引发异常,因为服务器无法检索 ContentItem 页面。

【问题讨论】:

    标签: asp.net .net n2cms n2


    【解决方案1】:

    是的,您可以使用Server.Transfer,但源服务器和目标服务器必须运行连接到同一个数据库的相同版本的 N2。否则,您应该改用Response.Redirect

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-11-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多