I have a button that calls a php file that sets a session using ajax.

is it possible to echo the results of that session without refreshing the page?