Storing solution into a session