Setting the Default Dashboard

There are many times when the clients ask for landing to a particular dashboard instead of the default My Dashboard. I came across this request too. So what i did is explained below.
There are basically some approaches to it.
1)  Go to the settings -> My Account and set the Default Dashboard for you out there.
2) The other method is used when you have to set the Default Dashboard for all the users. To accomplish this you need to follow the steps below:
a) Login using the Administrator user and click on settings -> Administration.
b) Go to “Manage Presentation Catalog” and navigate to the Dashboard which you want to set as default.
c) Click on properties of that Dashboard and copy the Path of the Dashboard from the ‘Path’ Attribute. Copy the path exactly as its mentioned in that attribute.
d) Now open the RPD and go to Manage-> Variables.
e) Create an Initialization block in session section and name it as PORTALPATH_IB.
f) Now set the Data source as SELECT <PATH> FROM DUAL. Assign it to a connection pool and click ok.
g) Click on Edit Target and click New and type in PORTALPATH for the session variable name. A warning will appear saying that this is a server variable. Click OK.
h) Save your changes.
i) Now, check that your user has default dashboard set to ‘default’ in settings->My Account.
j) Log out and log in and you should be directed to the targeted dashboard mentioned in the PORTALPATH variable.