def set_split_cat_cookie( options = {} )
      @split_cat_token = cookies[ :split_cat_token ]

      # Create a Subject for the cookie token, if it doesn't exist

     if @split_cat_token && !Subject.where( :token => @split_cat_token ).first
       split_cat_token( @split_cat_token )
     end

     if options[ :force ] || !@split_cat_token
       expires = SplitCat.config.cookie_expiration.from_now
       @split_cat_token = split_cat_token
       cookies[ :split_cat_token ] = { :value => @split_cat_token, :expires => expires }
     end

      return @split_cat_token
    end
def set_split_cat_cookie( options = {} )
      @split_cat_token = cookies[ :split_cat_token ]

      # Create a Subject for the cookie token, if it doesn't exist

     if @split_cat_token && !Subject.where( :token => @split_cat_token ).first
       split_cat_token( @split_cat_token )
     end

     if options[ :force ] || !@split_cat_token
       expires = SplitCat.config.cookie_expiration.from_now
       @split_cat_token = split_cat_token
       cookies[ :split_cat_token ] = { :value => @split_cat_token, :expires => expires }
     end

      return @split_cat_token
    end
#set_split_cat_cookie