Add redirect type constants.
Add a really simple session library.