Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


VBS Cache Object

VBS Cache Object

VBS Cache Object

I'm building an HTA that accesses a database on SQL server using a .vbs file.  The HTA will be run client side and it's housed on a shared drive.  

I don't have any problem connecting/querying/building recordsets, and displaying them in the HTML, however the problem I am running into is with trying to cache the recordset...  Is this even possible in a purely client side application like this.  I understand that .net can access the cache object, but I can't get this to work the way I have things setup, it doesn't appear to recognize "cache."

My intention of using the cache is to minimize queries by storing some basic info during each use on the users pc.  I've read that it's best to write the recordset to an array and cache the array.  But I can't figure out how to access cache from a purely .vbs function. An example of the recordset data would be a 15 row, 4 column array of data.

I figure I could always write the array to a text file on the user's PC, but I was hoping for a slicker solution.

Can anyone point me toward a solution, or an example of doing this?  Thanks in advance for taking the time to read this!

RE: VBS Cache Object

I think perhaps I posted this in the wrong location, and maybe should have put it in the .vbs forum.  Please disregard this post and I'll repost it to the correct forum.   

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close