Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9168963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:45:27+00:00 2026-06-17T15:45:27+00:00

Good Day, I’ve encountered problems with the cache of the UrlLoader in Actionscript 3.

  • 0

Good Day,

I’ve encountered problems with the cache of the UrlLoader in Actionscript 3.
I make a UrlRequest to a php site to get a timestamp.

When I call initiate the class (which contains the function) a second time, the result is the same.
I have to close the application and restart it to get a new request.

I have tried “loader = new loader.” and also using headers.

The option of creating a unique URL for every request like here , does not work for me since it would sabotage my php action..

   loader = new URLLoader();
   var request:URLRequest = new URLRequest("http://www.mySite.com/getTime.php?action=getTime");
   loader.load(request);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:45:28+00:00Added an answer on June 17, 2026 at 3:45 pm

    Adding a random parameter to your request will not sabotage your php in any way:

    loader = new URLLoader();
    var request:URLRequest = 
        new URLRequest(
       "http://www.mySite.com/getTime.php?action=getTime&bogus="+(Math.random() * 10000));
    loader.load(request);
    

    Your php code will GET the action parameter, and will ignore the bogus parameter without any effect on your code.

    You can also use a time based random number to avoid being too unlucky and get the same value twice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Good day! Is there any way to include a timer (timestamp?or whatever term it
Good Day! I have a photostudio site running on a Wordpress. It's have a
Good day, I was playing with the example found here on SO: PHP Socket
Good day to everybody I have a simple counter php+db it checks ref number
Good day everybody, I want to make an if conditional with the following aim:
Good day pythonians, I want to make a custom dictionary with two main features:
Good day guys, I am really nowhere to the guy who do PHP coding,
Good day! I encountered the following error upon running my JSP program. java.lang.IllegalStateException: PWC3991:
Good day, not so long ago, working with Django. Encountered the following problem. There
Good day one and all, This php statement seems to be bringing back only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.