Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Posts
    247
    Thanks
    0
    Thanked 0 Times in 0 Posts

    wav file question

    I have a website designed in ASP.

    I have a wav file that I need to insert, so when you get to the home page, it plays. However, I need it so when your go through pages on my site and then go back to the home page, the wav file doesn't play again.

    Does anyone know how to set this up??

    Thanks,
    Gary

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    Using session variables:
    Code:
    <%
    If Session("PlayedBleepySound")<>"true" then
    %>
    <!--write out HTML to embed wav file-->
    <%
    Session("PlayedBleepySound")="true"
    end if
    %>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •