![]() |
Making Content Pages NON-Spiderable |
Post Reply ![]() |
Page <123> |
Author | |
Matt ![]() Moderator Group ![]() Joined: 20-July-2006 Location: United States Status: Offline Points: 73 |
![]() ![]() ![]() ![]() ![]() |
Actually, the redirect script should also be removed from login.asp. So you should replace that header as well.
|
|
![]() |
|
allensp ![]() Newbie ![]() Joined: 27-July-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Okay - You have been so nice, so I am really hoping you don't get tired of me...but here goes:
I made a new file called checkout-header.asp and then replaced header.asp include file in the checkout.asp file with checkout-header.asp.
Seems like that should have worked - but I also see this other portion in the checkout.asp file that I don't understand and it might be affecting everything (but I am not sure)
'Capture any redirects
dim pcRequestRedirect pcRequestRedirect=getUserInput(request("redirectUrl"),250) if Session("SFStrRedirectUrl")<>"" AND pcRequestRedirect="" then
else Session("SFStrRedirectUrl")=pcRequestRedirect end if dim pcPageMode
pcPageMode=request("cmode")
if pcPageMode="" then pcPageMode=0 else if NOT validNum(pcPageMode) then pcPageMode=0 end if end if Is this file "Capturing" the redirect?
|
|
![]() |
|
allensp ![]() Newbie ![]() Joined: 27-July-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
oh okay I didn't refresh to see your comment about login...i'll change that and get back to you.
|
|
![]() |
|
allensp ![]() Newbie ![]() Joined: 27-July-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
You are a genius! Thank you so much! That worked perfectly!
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
Hey, sorry for the delay. I was out of my office for the past couple hours and didn't get to reply back. It looks like Matt resolved the issue. I was also testing out a script that would check the actual filename in the URL and not redirect for certain filenames, i.e. checkout.asp but I didn't get that working yet.
|
|
![]() |
|
allensp ![]() Newbie ![]() Joined: 27-July-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
That's okay - I really appreciate both of you! It was so nice for both of you to help out!
I can't even express how much this helped me!
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
You're welcome. Just remember that if you make changes to header.asp, you also need to make changes to your other header file that you're using for the checkout and login pages.
|
|
![]() |
|
allensp ![]() Newbie ![]() Joined: 27-July-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Okay, now I just noticed that when I try to do an order I make it all the way to the "Summary" page: productcart/pc/OrderVerify.asp and when I hit continue, which should take me to SaveOrd.asp it comes back with my NOT a MEMBER message. Is there a code I need to change in SaveOrd.asp?
I don't see an include file for header.asp.
|
|
![]() |
|
allensp ![]() Newbie ![]() Joined: 27-July-2007 Location: United States Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Or could it have something to do with me not having my SSL Certificate set up yet?
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
It sounds like your session was lost. This usually happens if the URL changes from something like yourdomain.com to www.yourdomain.com. Having or not having the SSL would not clear the session but if the domain changed when going past OrderVerify. The SSL URL is set in the control panel under the Settings | Store Settings area. Make sure you start with the same URL (i.e. with or without the sarting www) when you first go to the site as what the SSL pages would use. |
|
![]() |
Post Reply ![]() |
Page <123> |
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |