DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    J Guest

    Passing RecordSet between ASP-pages


    Hi!

    I want to pass a RecordSet between two asp-pages. Is this possible? If it
    is possible, how do I do it?

    The RecordSet contains the results from a search operation and I donīt want
    to perform the search every time.

    Regards,
    J

  2. #2
    Kris Eiben Guest

    Re: Passing RecordSet between ASP-pages

    NOT recommended. Any way you do it, you will be wasting the resources
    allocated to that recordset while the user reads the page, makes coffee,
    takes a smoke break, etc. And how do you know the user will actually go
    from the first page to the second -- not from the first page to
    www.sillysite.com?

    A better solution would be to pass the parameters you used to get that
    recordset from one page to the next, and re-query. Believe it or not,
    this is more efficient than holding the recordset open.

    If you want to _page_ records, that's different. See an example here:
    http://www.learnasp.com/learn/dbtablepaged.asp

    "J" <jarno.nieminen@modul1.se> wrote in message
    news:3d09c829$1@10.1.10.29...
    > I want to pass a RecordSet between two asp-pages. Is this possible? If

    it
    > is possible, how do I do it?
    >
    > The RecordSet contains the results from a search operation and I donīt

    want
    > to perform the search every time.




  3. #3
    J Guest

    Re: Passing RecordSet between ASP-pages


    Ok, Thanks

    /J

    "Kris Eiben" <eibenkthisisforspammers@yahoo.com> wrote:
    >NOT recommended. Any way you do it, you will be wasting the resources
    >allocated to that recordset while the user reads the page, makes coffee,
    >takes a smoke break, etc. And how do you know the user will actually go
    >from the first page to the second -- not from the first page to
    >www.sillysite.com?
    >
    >A better solution would be to pass the parameters you used to get that
    >recordset from one page to the next, and re-query. Believe it or not,
    >this is more efficient than holding the recordset open.
    >
    >If you want to _page_ records, that's different. See an example here:
    >http://www.learnasp.com/learn/dbtablepaged.asp
    >
    >"J" <jarno.nieminen@modul1.se> wrote in message
    >news:3d09c829$1@10.1.10.29...
    >> I want to pass a RecordSet between two asp-pages. Is this possible? If

    >it
    >> is possible, how do I do it?
    >>
    >> The RecordSet contains the results from a search operation and I donīt

    >want
    >> to perform the search every time.

    >
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links