Results 1 to 3 of 3

Thread: Public Var

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2004
    Posts
    5

    Unhappy Public Var

    Hello,

    I've made a mulit-user app. in asp.net wich is using about 250 public vars.

    I discoverd that when i'm working alone everything works fine but when another persons is going to work with it at the same time the value of the vars. will be changed. Stupid, I know.

    What's the best method to solve this problem? 250 session vars? , maybe cookies?

    thnx
    greetz Piet

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: Public Var

    Sounds to me like your architecture isn't that well designed.

    Converting them to Session variables would solve the problem but to be honest I can't think of a single situation when you'd need that many.

    What does your page do? - may be we can help you rework it.

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Public Var

    Why do you have 250 variables floating around like that?!

Posting Permissions

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



Click Here to Expand Forum to Full Width