How Can I Make a Web Page Expire?


Quick Answer

To create a Web page that expires, the programmer needs to pass the time when the link was created in the query string into a URL that is tamper-proof. By doing this, the programmer allows the receiving page to check the time and decide whether the link is expired.

Continue Reading
Related Videos

Full Answer

It is better to have the receiving page make the decision on link expiration. In case the sender is a trusted one, the algorithm needs to be adjusted to allow the sender to provide information on the period of validity of the link. In such cases, instead of making the sender create query string value that is tamper-proof, it is better to add tamper-proof query string value showing the time when the link would expire.

Learn more about Internet & Networking

Related Questions