Skip to content

Can i use array in $config['session_user_id'] ? #2

@wisnudir

Description

@wisnudir

Hi dude, can i set array value to $config['session_user_id'] ? or you will make it?
so it will check every item in array, when it exist in session then will become session_user_id default value.

For example i had two types of user_id in my session (for some reason i can't blend it to one type), there is voter_id and admin_id. So my value config will $config['session_user_id'] = array('voter_id','admin_id');
And rat library will check to my session, and will use one of them if it match or exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions