Currently Being ModeratedMay 4, 2012 10:43 AM (in response to Alvin777)
You can disable the Lion resume feature.
Open System Preferences > General
Deselect: Restore windows when quitting and re-opening apps
As for Facebook, select "Keep me logged in" .. even if the page refreshes, you should stay logged in.
Click on the image once to enlarge.
For help to avoid Safari from auto refreshing pages, go to ~/Library/Caches/com.apple.Safari/Cache.db
For Lion v10.7x: To find the Home folder in OS X Lion, open the Finder, hold the Option key, and choose Go > Library
Move the Cache.db file to the Trash. Quit then relaunch Safari.