NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 31 32 33 34 35 … 93 Next »
ASP.NET and global variables

 
  • 0 Vote(s) - 0 Average
ASP.NET and global variables
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#1
2008-05-23, 05:16 PM
I want to have one instance of an object which accessible from all pages in the application. What is the best way of doing it?

I've 'googled' it but can't seem to find a straight answer Sad Any ASP.NET gurus out there?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2008-05-23, 07:01 PM
You might try googling for :

ASP .net singleton
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#3
2008-05-23, 07:47 PM
You may also find this page useful.
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#4
2008-05-25, 07:38 AM
Session would work for you in this case I think. Depending on how often you're accessing the object(s) and their size then serializing and storing them in a db could work for you as well.
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Suppressing the Date/Time field from global.xml ACTCMS 7 3,184 2010-11-18, 01:36 AM
Last Post: ACTCMS
  Global TextStyles? Digital712 8 2,649 2006-08-09, 11:08 PM
Last Post: Old Dog

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode