session domain and path

I have read that it is a good idea to set these options, especially for running multiple rails app on the same box.

Can anyone explain why and what are the implications if it is ignored.

Thanks,

Long