線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1034
推到 Plurk!
推到 Facebook!

Stupid Question - What is Session?

尚未結案
BorlandUser
中階會員


發表:148
回覆:217
積分:73
註冊:2004-02-19

發送簡訊給我
#1 引用回覆 回覆 發表時間:2004-03-26 17:10:30 IP:203.185.xxx.xxx 未訂閱
係的咩黎?因為connnect database有樣叫做TSession的野.... ~"~
geniustom
版主


發表:100
回覆:303
積分:260
註冊:2003-01-03

發送簡訊給我
#2 引用回覆 回覆 發表時間:2004-03-28 17:15:21 IP:163.26.xxx.xxx 未訂閱
BorlandUser 您好..請參考以下文章
Chance36
版主


發表:31
回覆:1033
積分:792
註冊:2002-12-31

發送簡訊給我
#3 引用回覆 回覆 發表時間:2004-03-28 21:12:21 IP:203.204.xxx.xxx 未訂閱
BorlandUser 你好 Delphi HELP中已說明的相當清楚? TSession provides global management of a group of database connections in an application. Unit DBTables Description Use TSession to manage a group of database connections within an application. There are three uses for TSession: standard, multiple net files for Paradox, and multi-threaded database applications. The library automatically creates a globally accessible default TSession component named Session for all database applications. The default session component handles standard database connections. An application can control the default session by accessing its properties, events, and methods at runtime. Database applications that must simultaneously access Paradox tables located in different network locations can establish multiple sessions, one for each network location. Finally, database applications that must establish multiple, concurrent connections to the same database, such as performing two queries against the same data at once, are multi-threaded applications. Multi-threaded applications must create and maintain one additional session component for each simultaneous connection to a single database server. Note: Applications that maintain multiple sessions can manage them through the TSessionList component. A default session list component, called Sessions?ote the plural which distinguishes it from the default session component, Session?s automatically created for all database applications. Note: TSession implements the IDBSession interface, which allows the global PasswordDialog function to supply passwords to the component.
系統時間:2024-06-29 16:17:04
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!