ip http session hard-timeout

This command configures the hard timeout for unsecure HTTP sessions in hours. Configuring this value to zero will give an infinite hard-timeout. When this timeout expires, the user will be forced to reauthenticate. This timer begins on initiation of the web session and is unaffected by the activity level of the connection.

Default 24
Format ip http session hard-timeout 1-168
Mode Privileged EXEC