Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance question regarding dbf fetches
Message
From
12/12/2005 12:00:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01077108
Message ID:
01077199
Views:
61
>>>
>>>The page's life... I mean the time it takes to render it... thus is only while it's being rendered. Not after the is sent out to the browser.
>>
>>OK then I misunderstood. Save it to a session var then (maybe just ADO.GetRows).
>>Cetin
>
>SOrry for being so dense but I don't see the advantage of using a session variable. The results of the query are only going to be used for that one page, thus scope of retrieved data only needs to be page-centric rather than session-centric. Subsequent pages will result in different queries being generated. (Same query, different unique ID criteria for the where clause).

OK Mark,
To tell it in another way,
RS.Close
Connection.Close
Save whatever way and whereever you wish (ie: might be ADO.Stream but release connection ASAP).
PS: Maybe we're having communication problems because I don't quite understand how ASP works. If it's releasing connection implicitly no problem then.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform