Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

frontpage changing the urls madness

Status
Not open for further replies.

tonygr

Technical User
Jan 20, 2005
42
GB
Hi Can anybody help,
I have created a page with links to an external website, the current web uses a application,
When I want a user to log out I need to tell the application to do this here is an example.
<a href="lfbook.asp?wci=logon&wce=logto&url=http://www.google.com/">google</a>
when i publish the page it then turns into
which obviously does not exist.
Can anybody tell me why this is happening
Thanks in advance
Tony
 
Do you mean that when you save the page in FrontPage as a relative link but then reopen the page it mysteriously turned into a static link?

Relative hyperlinks such as the one you gave as an example <a href="lfbook.asp"> are turned static to the website you are on by the webserver and browser, not by FP.


By omitting the domain where the page "lfbook.asp" is located you are telling the webserver and browser that it is in the root folder of wherever the user is browsing from at that moment, which is wherever the page containing that link is located.

To fix it, you must identify the domain and make the link static as in:
Code:
<a href [URL unfurl="true"]http://www.domain-where-lfbook.asp-file-is-actually-located.co.uk/lfbook.asp?wci=logon&wce=logto&amp;url=http://www.google.com/">google</a>[/URL]

Jim Schuuz
{ F1 = my.friend
}
 
Jim
Thanks for the reply
Im now off work for the weekend and will try your suggestion first thing monday
p.s. yes the application resides in the root of the website
default page for the website is lfbook.asp configured in iis. what it is supposed to do is logout the user of the current session then redirect them to external website.
what is actually happening is yes they logout of current session but the refering page is not found.
hope this makes sense.
thanks again
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top