The team of developers are working in Denmark IT company in islamabad are unable to configured the object cache user accounts. So, i have resolved there problem and decided to post here to share with you. I have configured object cache user account in SharePoint 2010 with the help of Central Administration and Windows PowerShell.
Following steps are:
Step 1: First verify that you have administrative rights.
Step 1: Open you Central Administration Web site.
Step 3: Under the Application Management, click Manage web applications as shown.

Step 4: Click the name of web site that you want to configure, here i have taken aamirha web Application.

Step 5: Click on User Policy as shown.

Step 6: Add Users dialog box will be opened. Enter users name for the Portal Super User account in the Users box. Check the Full Control and Full Read and click Finish button as shown.

Step 7: Repeat step 6 again for Portal Super Reader account.
Step 8: Open Management Shell. Enter the following script given below.
- $wa = Get-SPWebApplication -Identity "<WebApplication>"
- $wa.Properties["portalsuperuseraccount"] = "<SuperUser>"
- $wa.Properties["portalsuperreaderaccount"] = "<SuperReader>"
- $wa.Update()

Step 9: Now reset IIS.
Note: If you still have found error then checked your Event Viewer. It can be possible that you don't have permission on Web application.
If you have better solution, Please comments here to share with us.