请大家指教!
解决方案 »
- Delphi中用FastReport制作报表
- 有关directorylistbox的问题
- 在安装控件的时候报错:Cannot load package 'GridPackd6.' It contains unit 'AsgUni,' which is also contained in package 'dclusr60'
- 怎样由TBitmap的变量获得一个windows结构BITMAP的变量?
- 在同一dbgrid中显示不同表的问题
- 这种代码如何调试呀?
- 做过仓库管理的请进!
- 关于OleVariant类型转换的问题
- 高分求解多线程
- 自学SQL起,我一直被这个问题所困扰,我看了好多医生,都没有用。看来我死定了。
- 'WSAStartup 没有应用或者 WSAStartup失败'!!!急啊,恳求高手帮忙!
- 应用程序怎样和web服务器通信?
就是最普通的web application,用web module来处理web请求
如何使用session呢?请指教!
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.
而websnap太繁杂,资料也很欠缺,所以我不用websnap
我用的是普通的web application,或者说是web broker,我已经明确得知,这是不支持session的
呵呵,我去delphi里面尝试一下intraweb,多谢多谢!