# Refere validate expire

**URL:** https://community.wowza.com/t/refere-validate-expire/92394
**Category:** Wowza Streaming Engine
**Created:** [November 23, 2020, 2:26pm UTC](https://community.wowza.com/t/refere-validate-expire/92394 "2020-11-23T14:26:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Giovanni\_Essed1](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@Giovanni\_Essed1](https://community.wowza.com/u/Giovanni_Essed1)
#### Post date: [November 23, 2020, 2:26pm UTC](https://community.wowza.com/t/refere-validate-expire/92394/1 "2020-11-23T14:26:02Z")

</div>

Hi,

i have a question about the referer validate module.  
When a client request a video from a valid referer the video plays correectly.  
Is there a expiring time after this or will this be infinite?

---

<div class="post-metadata">

### Author: ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)
#### Post date: [November 23, 2020, 6:08pm UTC](https://community.wowza.com/t/refere-validate-expire/92394/2 "2020-11-23T18:08:18Z")

</div>

Nice to have you here in the community @Giovanni_Essed1. 🙂

As far as valid session duration, it is not infinite, the session validation duration is 60 seconds by defualt, but you can adjust how long you want that session to be valid within the parameters for the **referer validate module** settings.

You can find those here:

> **[Control access to your application by checking referer](https://www.wowza.com/docs/how-to-control-access-to-your-application-by-checking-referer-domain-modulereferervalidate)**
>
> Use the RefererValidate module to control non-RTMP player access to your streams based on the referer domain.

As far as the expiration time settings you can see those here in the code on our GitHub, It explains how that is configured.

> <https://github.com/WowzaMediaSystems/wse-plugin-referervalidate/blob/main/src/com/wowza/wms/plugin/HttpRefererValidate.java>

You need to scroll down to this section here as shown in the image:

 ![Screen Shot 2020-11-23 at 12.39.18 PM](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/e01db03b6356d25cdeda9f4a0cdf96e3fc4e6e1a.png)

---

<div class="post-metadata">

### Author: ![Giovanni\_Essed1](https://avatars.discourse-cdn.com/v4/letter/g/8e7dd6/32.png) [@Giovanni\_Essed1](https://community.wowza.com/u/Giovanni_Essed1)
#### Post date: [November 25, 2020, 9:06am UTC](https://community.wowza.com/t/refere-validate-expire/92394/3 "2020-11-25T09:06:56Z")

</div>

Thanks for you answer!
