Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 6th, 2007, 08:58 AM
Registered User
Join Date: Dec 2006
Location: Karachi, , Pakistan.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default typecast user object from session


i created a user class in vbscript , it has certain properties and functions. I created an array for that class becuase i needed a collection. The requirement was to access that collection from another asp page, so I put the generated array in a session variable.

After getting back the collction from the session variable i try to perform some calculation on it by calling one of its functions which is part of the object,


I get object property not supported error. Its working fine on the first page, i just can't access any method or properties when i get it back from the session variable in the other page.

any one has any idea on why this is happening or how can i typecast this back into my class object?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Session ID swapping from user to user... greenwar VS.NET 2002/2003 3 September 7th, 2007 08:44 AM
Session object keyvanjan Classic ASP Basics 1 January 25th, 2006 09:32 PM
Session Object mcinar Classic ASP Basics 9 January 9th, 2005 05:41 PM
How I Can Use Session Object To Store User And Pas yoord BOOK: ASP.NET Website Programming Problem-Design-Solution 4 June 29th, 2004 11:17 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.