Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Play a background sound file once per session

Status
Not open for further replies.

coxdon

Technical User
Mar 15, 2005
10
US
How can I encode a sound file to play in the background of my main page, but only once per session, not every time the visitor returns to the home page?
 
If you store a session variable to denote when you've played the file, you can just check the session variable and if it exists don't add the code to play it.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top