Random picture

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

How can I make my ASP.NET app display a single different picture each day,
instead of one every page load?

Thanks
 
Use a Session or Application variable to hold a date and image URL. Compare
the date value during load and if different, then calculate a new image URL,
otherwise use the URL already specified.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top