Thanks for you reply.
I just tested this and this and we got a little bit closer to solution. :-)
Using the full url in "moveTo" does not work, but I got the fragment part working; #appPage2&id=1234
however, as we are talking about the fragment part of the url, this is not available in SSJS, so I can't get hold of the paramters, e.g
var id = context.getUrl(); or var id = context.getUrlParameter("id") does not work.
so, I now know how to pass the value to another appPage, but can't get hold of the value.
any ideas?
Thanks
Thomas