Problem using the forceShell command

I am trying to use the forceShell command in order to change the user shell when the user selects it from a dropdownlist. Currently i am using the following command:


where shellName is the name of the shell to use and return url is the page that will be displayed. When i execute the command the startpage is displayed but the shell is not changed. Does I need to do something else in order for this to function? Are there other ways to perform this action?


The sintax seems to be ok. Try to change to another returnUrl.