Classic ASP Store objects in the session object

后端 未结 6 728
名媛妹妹
名媛妹妹 2020-12-06 14:00

I am new to classic ASP and I need to code a web application in classic asp because the customer wants it to be in classic asp. :(

Anyways! here is my question:

6条回答
  •  忘掉有多难
    2020-12-06 14:09

    I am to lazy to test it for you, but

    Instead of:

    set Session("somePerson") = aPerson
    

    Try:

    Set Session("somePerson") = Server.CreateObject(aPerson)
    

提交回复
热议问题