Jump to content

brewzer_bob

Members
  • Posts

    6
  • Joined

  • Last visited

brewzer_bob's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Well it seems the only way to get around this was to iterate through each of clients in my user.config file and find the node I was trying to change again and issue a "save" on that node again. Seems the file get's disconnected somehow...I hope no has to struggle through this pain but prob shouldn't have been my approach for saving user data locally in a multi threaded app...I dunno...it works now...
  2. Someone please help me with this I am so about to blow my lid on this...I have a multithreaded application that uses a user.config file to store settings for each client...For example say I have 3 clients (A,B, and C) there will different data for each client, ID, Password, and a Reset boolean.I have a manager class that spawns a thread for each client in certain cases the client may need to set and save one of the values (say a password reset). My first pass was to call Properties.Settings.Default.Save() method after the value was reset, however I noticed that whatever was set first (say ID, then Password) only the ID (or first value) was getting saved in the user.config file, say I swapped them and set Password, then ID then only the password was getting saved... So I moved the "Save" method out of the getter and setter methods and it seemed to work... However when I try to save data for multiple clients this approach would only save the first client being set...So I then created an event in the Manager class that would be "bubbled" up by the "child" thread to the manager and save the values, this at first appeared to work fine as when the Application first starts it forces a run time password reset and all clients (A,B and C)'s data are being saved, however I also have a time interval (say after so many minutes) to reset the password again...The problem is once the values are save by the initial call(s) to Properties.Settings.Default.Save(), the subsequent call(s) (PER THREAD) are not being saved???Please anyone with any ideas please help... I am almost to the point of just treating this as a flat file and manually editing it like a raw .xml file...I can't find much info on this other than the basic examples...of like form size:Properties.Settings.default.myformpostion = "Blah";Properties.Settings.default.Save();...and that's all you need to do...well not true or am I missing something????Sorry to post this long A$$ message on here as it might not be the correct spot to post it but i'm cross eyed looking at this and reading on this and I wish I would have just stuck with a local xml (data) file and not messed with this whole config manger crap...yes I'm a bit frustrated....Thanks for anyone that can help me with this...
  3. Most cities have a .net user groups at least most large metro areas? Not sure if that's what your looking for but they do exist? And surely there will be people that can assist with any HTML, DHTML or specific web type questions you can ask and meet etc.?http://www.nashdotnet.org/ is one example from google search?
  4. Yes this makes since I currently validate the session Guid on load of every page as well, however this bigger issue that we have a variable amount of "trigger events" that may have different threasholds? One event might be an invalid password, another might be valid user id and password but invalid client id...Once their logged in correctly I can assume all is well and clear the "Blocked" table...Maybe I'm still in design mode at this point.I'm starting to think after much research google etc...I'm stuck to some sort of nasty algorithm to resolve each type of "event"...Now I'll have to determine how to clear my tables as they will grow and grow and grow...However thanks for the response maybe someone might know another way to tackle this.
  5. Ok first I'm new on here I've searched many different topics and have not really found what I’m looking for so I'm gonna ask?We have been tasked to remove "client certs" on our website and in doing so we have also been tasked to prevent flood control (i.e. password attempts with a time period)... Sort of like only allowing a person to post one message on a bulletin board within a certain time period etc.So we have come up a pretty complicated algorithm that is IP based with say " threshold" and different events (one might be a valid Client ID and 5 invalid passwords) that will say lock the IP for a certain amount of time... At a high level this seems pretty easy and straight forward but as we delve deeper into the "what if's" it becomes very complicated? Say for example we have a client base that all uses the same outgoing IP address and as typical users they come in at 8 am (say there's 50 or so), and say 5 of them type and invalid password by say 8:05 then it might be we block the entire client base from logging in? One solution we have thought of is having say a list (table) of known good IP address that say have a more laxed "threshold"?Anyway I know this can be a lengthy topic but I was wondering if there was anything anyone knew about that already exists for this type of behavior and I don’t think a 3’rd party tool is feasible as the tech lead feels this is a trivial task? Maybe it is but it just seems to me that 3-6 tables with flexible thresholds, locking IP’s, holding states etc is over kill? Any suggestions would be helpful?Thanks.
  6. Ok well I ran accross this while looking for something else...Do you have the OS disk? If so just try re-installing the OS? Seems I remember having to do this before way back when...Not sure about newer OS's (XP, 2000 etc)?
×
×
  • Create New...