Search

You searched for the word(s): userid:620535

Matching Posts

  • Re: Anonymous Web User and Database Authentication

    http://weblogs.asp.net/jgalloway/archive/2008/04/13/encrypting-passwords-in-a-net-app-config-file.aspx
    Posted to Security (Forum) by sswanner1 on 4/28/2009
  • Re: Anonymous Web User and Database Authentication

    The safest way to do this is not store a password in the web.config AT ALL. I usually do the following: 1) Use integrated security in your connection string. This will pass the current identity to the database for authentication 2) In IIS security, set the anonymous user to a service account that you create on the domain with "NO PRIVILEDGES" 3) In your web.config, use identity impersonation (this will set the identity to the anonymous service account you set in IIS) 4) Grant necessary
    Posted to Security (Forum) by sswanner1 on 4/27/2009
  • Re: static variable initialization

    Initialize the variable from within GetInstance(object context)... If the object is null, create the object and return it. If the object is not null, just return the object. This ensures that the variable is only created once and only at the first call to GetInstance. Also, does the class need to be thread safe? Create a static System.Threading.Mutex variable in the class... Here's how your new class should look: partial class ContentStoreGlobal { private static readonly Dictionary<object
    Posted to C# (Forum) by sswanner1 on 4/27/2009
  • Re: problem with sql query.

    I would create a new control that inherits from label and override the method that renders. It would be at that point that I would find and replace the text, ie: (2) --> "John". I don't know how efficient it would be to read the database each time that the label renders, unless that is what you are wanting to do. I would load and store the mappings in session_start (again, this depends on how many mapping you are going to have). And then when the control renders, you can just pull
  • Re: SessionID not persistent

    It seems to me that the best place to initialize your session is at Session_Start, no? Can you help me understand why you don't want to use global.asax? I ask because if there is a better way, I wouldn't mind using it, but I don't understand the thinking behind wanting to do it somewhere else? It seems like a bug to me, but apparently it is by design. There are some other threads that discuss the issue and why sessions behave this way.
    Posted to HttpHandlers and HttpModules (Forum) by sswanner1 on 11/18/2008
  • Re: Controlling Session State

    The subquery is (SELECT org_descr FROM tlb_organization)... You do not have a where clause, so it's returning every single org_descr from that table. Hopefully that table has the unique OrganizationID so you can filter by that.
    Posted to State Management (Forum) by sswanner1 on 11/17/2008
  • Re: Controlling Session State

    So in the dropdownlist of departments for admins, load it with the value being the unique department ID. When the item is selected in the dropdownlist, set the Session to the value they selected. If I'm misunderstanding, let me know.
    Posted to State Management (Forum) by sswanner1 on 11/17/2008
  • Re: Controlling Session State

    I'm having a hard time figuring out the connection between the session ID and the unique department ID. Can you clarify why these have to been the same?
    Posted to State Management (Forum) by sswanner1 on 11/17/2008
  • Re: array list - problem

    Show me what you have so far
    Posted to Getting Started (Forum) by sswanner1 on 11/17/2008
  • Re: Create Web Application for IPPhone from .Net

    Wouldn't that be nice :) Start learning objective C. It's pseudo object oriented and in my opinion, a real pain in the a**. What I've been doing is writing web services in .net and just using objective C to communicate with the web service to get the information and display it.
    Posted to Mobile and Handheld Devices (Forum) by sswanner1 on 11/17/2008
Page 1 of 49 (483 items) 1 2 3 4 5 Next > ... Last ยป