请大家指教!

解决方案 »

  1.   

    用什么开发?delphi.net?intraweb?websnap?
      

  2.   

    不是websnap,websnap太繁琐,没时间研究。
    就是最普通的web application,用web module来处理web请求
    如何使用session呢?请指教!
      

  3.   

    最后自己作了一个webSession控件解决了问题,真是郁闷
      

  4.   

    WebDisp中有这个类TWebSession
    DescriptionTWebSession represents an active Web session. Use its Values property to get or set application-specific information about the current user. If your application uses sessions to store user information, you need to include a TSessionsService component in the Web application module.A Web session stores information that persists over multiple calls from the same user. This information is stored as a set of Variant values that are indexed by name. You can use these named Variants to store application-defined information that is associated with a single user. There is no need to instantiate session objects. A Session is created automatically when the WebSnap application receives an HTTP request message. The new session is given a unique identifier, which is added (in a cookie) to response messages, so that the same session can be used for subsequent requests from the same caller. The session persists until either the user logs out, a specified time elapses with no request messages from the caller, or the application explicitly calls the session抯 Terminate method.
      

  5.   

    to 楼上:这个我早就研究过了,这个TWebSession只能用于websnap的应用,普通的web application是无法使用的。
    而websnap太繁杂,资料也很欠缺,所以我不用websnap
    我用的是普通的web application,或者说是web broker,我已经明确得知,这是不支持session的
      

  6.   

    如果用IntraWeb就不用自己管理Session。
      

  7.   

    对啊,用Intraweb吧,我也正在用呢?没Session的问题啊!放心哦!
      

  8.   

    intraweb没用过,我在c++builder里做的,似乎没有诶
    呵呵,我去delphi里面尝试一下intraweb,多谢多谢!