Question : HTTPSessionState  Class

How do you place the Instance of the following class into the session of an ASP.NET application deployed to a server cluster with distributed sessions and used as a key for a Hashtable of other objects?  The modifications of the UserKey needs to meet the minimal requirements for an object which can be placed into this type of HttpSessionState

namespace myclass
{
    public class UserKey
    {
 
        private readonly String name;
        private readonly String userid;
 
        public UserKey(String name, String userid)
       {
           this.name = name;
           this.userid = userid;
        }
   
        public String GetName()
        {
            return name;
        }

        public String GetUserID()
        {
            return userid;
        }

    }
}

Answer : HTTPSessionState  Class

I think the reason is a wrong owner for the file 'access.db'. Also check owner for 'aliases.db'.

Correct is the user root. Try:

chown root:smmsp /etc/mail/access.db

If it doesn't work, check owner for the other files and directorys.

A complete decription you can find in "sendmail 8.13 Compandium" from Brian Costales, Chapter 10, Maintain security with sendmail. Or try this link: https://blue-labs.org/software/sm-pgsql/

Regards, Tobias
Random Solutions  
 
programming4us programming4us