# Temporary URL

**URL:** <https://community.wowza.com/t/temporary-url/35286>\
**Category:** Wowza Streaming Engine\
**Created:** [June 13, 2011, 8:53pm UTC](https://community.wowza.com/t/temporary-url/35286 "2011-06-13T20:53:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)\
**Post date:** [June 13, 2011, 8:53pm UTC](https://community.wowza.com/t/temporary-url/35286/1 "2011-06-13T20:53:56Z")

</div>

Just curious, the scenario is like below

1. user sign up with our VOD portal

2. user buy vod plan

3. user sees a video listed in his dashboard

in background

1. system automatically create a temporary url for newly bought video

2. url should lasted only some period say 24 hours

Since I’m not good with java, here’s is my thinking

1. md5() + hash insert unique id into subscriber vod table

2. create the folder under /vod/ and softlink to actual video file

3. cron job run every 5 minutes and running the cleanups ( deleting folder )

Will this achieve what I am planning ?

Will wowza auto detect the newly created app folder without restarting ?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 13, 2011, 4:46pm UTC](https://community.wowza.com/t/temporary-url/35286/2 "2011-06-13T16:46:57Z")

</div>

Wowza will recognize new app without restarting.

There are a lot of useful examples some of which should help you, here:

[https://www.wowza.com/docs/basic-modules-and-code-samples](https://www.wowza.com/docs/basic-modules-and-code-samples)

Richard

---

<div class="post-metadata">

**Author:** ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)\
**Post date:** [June 14, 2011, 8:58am UTC](https://community.wowza.com/t/temporary-url/35286/3 "2011-06-14T08:58:12Z")

</div>

thank you Richard.
