How to dynamically adding the "Expires" meta tag

Joined
Feb 8, 2009
Messages
1
Reaction score
0
Hi All,
I need to add html meta tag "Expires" which tells the browser when to expire the page. If the user wants to expire a page immediatly we have to use this html tag otherwise page expiration should depend up on the browser settings( Internet explorer has the option called "Check the newer versions of stored pages".
I'll have an check box in my application, if that checkbox is true i've to use the below tag otherwise no need to use this tag.
" <meta http-equiv = "Expires", Contents ="0">"
Hope my problem statement is clear and understandable.
Can anybody help me?

Thanks
newbie
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top