|
|
|
|
|
| | |
| |
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: Creating Links |
|
From: |
Jerome Wilson |
|
Date: |
1/30/2000 6:39:11 AM |
|
IP: |
212.126.131.233 |
Hi,
Cant think of any way to do this automatically but one way to make it easier would be to create a redirect page.
Call it something like redir.asp and instead of linking direct to your file link to your redirect page, like this:
"\redir.asp?link=0001"
So your redirct page can then extract the link ID (eg.0001) from the QueryString and, using a Select Case, decide what file to redirect to using Response.Redirect.
This, at least, gives you just one page (redirect.asp) to update with changed file paths.
Not sure if this is entirely sound as I havent tried it myself (might need a Response.Buffer = True at the top of the rediect page).
Hope this is of some use anyway.
Cheers,
Jerome. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|