qual'è il tuo scopo finale?
magari potrebbe bastare passare il parametro via query string