Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 6.00 Questions
 Password Protect Custom Pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

psychobilly
Starting Member

USA
9 Posts

Posted - March 12 2003 :  15:39:46  Show Profile  Reply with Quote
I have created a few custom Admin pages. I would like to add the password protection that is on the VP-ASP admin pages. What files do I need to include or code do I need to use?

Thanks

support
Administrator

4679 Posts

Posted - March 12 2003 :  19:55:53  Show Profile  Visit support's Homepage  Reply with Quote
add the the line near the top of your files. This will make sure the person is logged into the admin system

shopcheckadmin ""

VP-ASP Support

Go to Top of Page

Jill
VP-CART Super User

USA
249 Posts

Posted - July 23 2003 :  18:06:43  Show Profile  Reply with Quote
Is there anything similar to this that would add password protected pages to the affiliates section (in version 5)?

Thanks, Jill



Edited by - Jill on July 23 2003 18:07:21
Go to Top of Page

Superal
VP-CART Expert

Canada
542 Posts

Posted - July 24 2003 :  12:58:07  Show Profile  Reply with Quote
From what I see, all of the main admin pages that concern affiliates require an admin login. The affiliates themselves are required to login before they can get anything.

Which pages are you questioning?

Go to Top of Page

Jill
VP-CART Super User

USA
249 Posts

Posted - July 24 2003 :  15:16:14  Show Profile  Reply with Quote
Hi Al,

Pages that I want to add.


Jill

Go to Top of Page

Superal
VP-CART Expert

Canada
542 Posts

Posted - July 25 2003 :  02:08:03  Show Profile  Reply with Quote
Put this near the top

dim affid
affid=Getsess("AffRegister")
If affid="" then
response.redirect "shopafflogin.asp"
end if

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00