Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to build a variable META tag at runtime?
Message
De
12/02/2001 21:20:51
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to build a variable META tag at runtime?
Divers
Thread ID:
00475142
Message ID:
00475142
Vues:
74
Say I have a page that is called with URL arguments.
This page gets some data in a form whose action calls a page that saves the data.

SaveData.asp saves and shows text saying "Data was saved blah, blah, blah"
and it shows a footer with a customized back button with code like in the
following simplified example:
< %
Response.write "< a href=""sample.asp?P=" & MyVar & """>"
% >
So the back button will call and refresh the original page with the proper
params to show the updated info.

So far, so good.

I want SaveData.asp to save, and show the "blah, blah" text but to revert to
the calling page after 4 seconds. So I added something like
< meta http-equiv="Refresh" Content="4;URL=sample.asp" >
to the < head > section of the page.

This works but it does not pass the URL arguments I need.

Q: How do I build the sample.asp?P=" & MyVar string for the META tag
in < head > section at runtime?


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform