How to assign Profile values?
I don’t know what I am missing, but I added Profile properties in the Web.config file but cannot access Profile.Item in the code or create a new profile.
I don’t know what I am missing, but I added Profile properties in the Web.config file but cannot access Profile.Item in the code or create a new profile.
I’m trying to figure out the size of a particular session state. On one of our heavy pages (lots of data in a table) it gets progressively slower. The issue is resolved by logging out of the system.
I am looking for guidance regarding the best practice around the use of the Profile feature in ASP.NET.
I am working with the SQLMemebershipProvider and using Profiles. I have a custom class called UserProfile that inherits from the ProfileBase class and I use this to set custom properties like “FullName”. I am wanting to loop through all the users in the database and get access to their profile properties. On each iteration I am calling ProfileBase.Create() to get a new profile and then access the properties.
I cant figure out how to use Profile.GetProfile() method in a library class.
I tried using this method in a Page.aspx.cs and it worked perfectly.
If think my question is pretty obvious and almost every developer working with UserProfile should be able to answer it.
The unix sysadmin where I’m working is reluctant to give me access to change my login shell from ksh to bash. He has given various excuses, the funniest being that since they write all their scripts for ksh they won’t work if I try to run them. I don’t know where he gets these ideas, but since I can’t convince him, is there any alternative that I have?
After starting a bash terminal, I noticed that the PATH variable contains duplicate entries. My terminal starts a login shell, so ~/.bash_profile is sourced, followed by ~/.profile and ~/.bashrc. Only in ~/.profile do I create the paths entries which are duplicated.
I have some important commands I need to execute before any sh shell starts. This is required for passing SSH commands in the SSH command (ssh host somecommand) and other programs that run commands.
I am reading about basic shell scripting from Linux Command Line and Shell Scripting Bible.