Commit info for scoop/lib/Scoop:

Modified Files:
	Session.pm 
Log Message:
Fixed a typo in Sessions that kept the session key from being stored in $S (I
don't think the typo actually affected anything).

Also changed the serialization calls to use nfreeze (just in case the extra
portability is needed) and to encode serialized data with MIME::Base64 before
stashing it in the database. The binary data from freeze might have been
causing problems with Postgres, so we'll see if this fixes it.



Index: Session.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Session.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -r1.1 -r1.2
17a18
> use MIME::Base64 ();
82c83
< 		$d->{value}      = Storable::thaw($d->{value});
---
> 		$d->{value}      = Storable::thaw(MIME::Base64::decode($d->{value}));
210c211
< 	$self->{scoop}->{SESSION_KYE} = $sid;
---
> 	$self->{scoop}->{SESSION_KEY} = $sid;
331c332
< 				$data->{value} = Storable::freeze($data->{value});
---
> 				$data->{value} = MIME::Base64::encode(Storable::nfreeze($data->{value}));