def clear_session_vars(context, *args):
    """
    Helper function to clear session variables
    """
    session = context['cs_session_data']
    for i in args:
        try:
            del session[i]
        except:
            pass
