Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 response.write
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

concep86
Junior Member

USA
140 Posts

Posted - 30 March 2001 :  10:54:07  Show Profile  Visit concep86's Homepage
How do you add a
"<%=secureurl %>
tag to the response.write tag...

What I am trying to do is add this to some pages that are secure ie
reponse.write("<%=secureurl %>/pay.asp)
...

How do I do this

Concep86
Webmaster
http://www.coneciones.com
http://www.amercoll.edu

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 30 March 2001 :  11:10:51  Show Profile  Visit Kat's Homepage
reponse.write(secureurl & "/pay.asp")


that should do it.

KatsKorner


Edited by - kat on 30 March 2001 11:11:16
Go to Top of Page

concep86
Junior Member

USA
140 Posts

Posted - 30 March 2001 :  11:45:43  Show Profile  Visit concep86's Homepage
Kat, sorry . I meant response.redirect not response.write


I have tried that and it does not pickup after the secureurl

any other thoughts...

Thanks

Concep86
Webmaster
http://www.coneciones.com
http://www.amercoll.edu
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 March 2001 :  11:57:10  Show Profile
Try doing this instead.
strSecureURL = secureurl & "/pay.asp"


Response.Redirect strSecureURL


Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 30 March 2001 :  13:05:18  Show Profile
quote:
reponse.write("<%=secureurl %>/pay.asp)

The problem with this line is that you are already running asp script, so the <% %> around secureurl is not only unnecessary, it will break your code.

The syntax you used is how you embed an asp variable within a HTML stream.


======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07