VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 General help me questions
 Return to Referring page when loggin in.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

seroom
Starting Member

New Zealand
27 Posts

Posted - December 07 2005 :  15:00:09  Show Profile  Reply with Quote
I am using the Customer admin login to protec the shop exd page. So when someone clicks on extended description they need to be a registered customer to see the information on the page.

Ho do I set it so they are returned back to the referring
page shopexd?=etc rather than ending up at the shopcustadmin.asp

dim customeradmin
Dim sAction, dbtable
Dim strPassword1, strPassword2
dim body
sAction=Request("Action")
if saction="" then
sAction=Request("Action.x")
end if
GetCustomerSessionData
dbtable="customers"
If Getsess("Customerid")="" then
responseredirect "shopcustadminlogin.asp"
end if
setSess "CurrentURL","shopexd.asp"

  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000