Can I put an ASP.Net session ID in a hidden form field?

后端 未结 4 1053
礼貌的吻别
礼貌的吻别 2020-12-05 20:55

I\'m using the Yahoo Uploader, part of the Yahoo UI Library, on my ASP.Net website to allow users to upload files. For those unfamiliar, the uploader works by using a Flash

4条回答
  •  臣服心动
    2020-12-05 21:24

    The ASP.Net Session ID is stored in Session.SessionID so you could set that in a hidden field and then post it to the next page.

    I think, however, that if the application restarts, the sessionID will expire if you do not store your sessions in sql server.

提交回复
热议问题