"Ah so" is a fake chinese greeting made up by white folks and became
popularized by newspapers in the 1870s California. It is supposed to
be what chinamen say to greet each other. In reality, "ah so" is not
chinese at all.
This is roughly equivalent to what american indian supposedly say to
greet each other --- "How".