Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to build a variable META tag at runtime?
Message
From
12/02/2001 21:20:51
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How to build a variable META tag at runtime?
Miscellaneous
Thread ID:
00475142
Message ID:
00475142
Views:
76
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
Next
Reply
Map
View

Click here to load this message in the networking platform