So I will try it by setting a session variable. But how do I get the current mashups name into a service? I cannot find anything in the bindings. I don't want to hard code a service for each view I have, I want to create a generic service that takes the name of the view and puts it to the session variable.
The second issue is, that the loaded event of the master mashup seems to trigger first, so the mashup will not have time to set its name to the session variable before the header evaluates it.