Dash variable sharing

hi ,
I have 2 dash apps on ports app1=localhost:1234 and app2=localhost:8050.How do i pass selected dropdown variable from app1 to app2 and filter the data in app2 using that variable and display graph.