View Poll Results: how can i pass an object?

Voters
1. You may not vote on this poll
  • in session?

    1 100.00%
  • other?

    0 0%
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    1

    Unanswered: Store object in session

    i hav created a class named book, then i create an instance of it in page1.asp, and i want to use it in page2.asp.

    can any1 pls tell me how to do that?

    thanks alot

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    Depending on what the class contains I would probably pass/store it in session.

  3. #3
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    I generally think of a shopping cart as a fancy name for a session array. And here is a good resource that includes how to use session arrays:

    Session Object
    http://msdn.microsoft.com/library/de..._vbom_seso.asp
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •