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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i make a url link in VBScript

Status
Not open for further replies.

labboy999

Programmer
Apr 26, 2001
2
US
Hi

I have a sub where at the end I want it to load another .html into the current frame, how do I do this?

John
 
I know you can do:
Code:
Response.Redirect "nextpage.html"
However, this will only work if it's done before any actual html tags are run.
 
unless you put this at the top of your page:

response.buffer = true

If you put that up, say right below your
<%@language=vbscript%>

then it will work just fine whether you have any html headers written to the page or not.

The cool thing is that if you do it like dallison suggested, and write no html to the page, then to the user, the asp page in question will be totally transparent, not even showing up in the user's history -- i.e. when they hit 'Back', they will skip the asp page, returning to the one before it... I use that method for logins alot of times.

good luck! :)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top