“mycontroller” is extended with AccountController. If user execute this link with not log-in state, oxid will redirect him to login page. Then user needs to login and oxid redirect him another time to this link but without my additional “param1”. Is any smart option to pass this param too?
User (not logged in) open mail and click in this link.
This link is extended with AccountController (access only for logged in user).
User after click is redirect to oxid login form
Oxid remember previous (referer) address and after correct login redirect user to the address: www.xxxx.de/index.php?cl=mycontroller&shp=2 but without my special param (token).
I thought there is some feature with which i can add the name of my param and oxid will automaticlly return it in step 5 (maybe in some special array or variable).
You can extend the user controller or user class too. Where the login is processed. So you can check for your parameter and append it to the redirected url.