Wrox Programmer Forums
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics 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
Old April 24th, 2008, 05:33 PM
Authorized User
Join Date: Apr 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default about using cache


i am trying to use the cache in a web project, but when i want to add an object using the insert method, it returns object reference not set to an instance of an object, i can't figure it out yet why, if i am declaring my cache variable...

i am doing something like this:

Cache myCache = new Cache();

myCache.Insert("object", myObject);

what do you think is happening??

Old April 24th, 2008, 08:59 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi

mmm.. do myObject is not equal to nothing?



================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
================================================== =========
I know that CVS was evil, and now i got the proof:
================================================== =========
Old April 25th, 2008, 09:19 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Cross post: http://p2p.wrox.com/topic.asp?TOPIC_ID=70867


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql cache pc2006 MySQL 1 March 26th, 2007 07:42 AM
Cache problem jeanzz83 ASP.NET 1.0 and 1.1 Basics 1 January 3rd, 2006 12:36 PM
Cache problem alton Classic ASP Basics 3 September 6th, 2004 12:37 PM
cache pab006 Classic ASP Basics 3 January 22nd, 2004 05:29 AM

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