# Flash calling server side script only once

**URL:** https://forum.kirupa.com/t/flash-calling-server-side-script-only-once/256476
**Category:** Uncategorized
**Created:** [April 3, 2008, 12:13pm UTC](https://forum.kirupa.com/t/flash-calling-server-side-script-only-once/256476 "2008-04-03T12:13:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![pandu\_kirupa](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pandu\_kirupa](https://forum.kirupa.com/u/pandu_kirupa)
#### Post date: [April 3, 2008, 12:13pm UTC](https://forum.kirupa.com/t/flash-calling-server-side-script-only-once/256476/1 "2008-04-03T12:13:18Z")

</div>

Hi all,

```
     I am making a movie in which flash will call a [COLOR=Red]ASP.NET[/COLOR] page, which in turn gives a [COLOR=Red]random ID[/COLOR], which is assigned as a file name to the user recorded streams. The Page will be called upon pressing [COLOR=Red]Record [/COLOR]button.

```

When I compile the flash movie, pressing [COLOR=Red]Record [/COLOR]button gives me a new [COLOR=Red]ID [/COLOR]every time the page called. Every thing is fine.

But the problem is, [COLOR=Red]when I embed the SWF in a browser[/COLOR], or let say, when tested in [COLOR=Red]localhost[/COLOR], the flash makes a call to the .NET page for the first time, but not later, and the [COLOR=Red]ID [/COLOR]being the same as first, the recorded streams are over writing. I want it to be unique every time user records a stream.

What may be the problem, when embedded in browser, [COLOR=Red]flash calling the .NET page only once and not later. [/COLOR]

Could some body please help me here…

Thnx  
pandu 🙂
