osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Secure Catalog pages

This is a discussion on Secure Catalog pages within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, Think I got it. I included: CODE // if the customer is not logged on, redirect them to the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #11  
Old 11-17-2003, 06:57 AM
New Member
 
Join Date: Nov 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kamel
Default

Hello,
Think I got it.
I included:

CODE
// if the customer is not logged on, redirect them to the login page
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}

at the top of each page to reqire a registered login.
Found it by looking at the account.php page.
Wonder if I can limit this code to only the Index.php page and remove the links to other site listings on the login.php page.
Anyway this does work.
Thank you
K
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How do you make all pages secure? smc13 osCommerce 2.2 Modification Help 1 07-31-2004 05:22 AM
Suppressing link xchange banners on secure pages ianmel osCommerce 2.2 Modification Help 1 05-25-2004 05:06 AM
SSL - Links to https pages not including /catalog/ in URL secretagentwoman osCommerce 2.2 Installation Help 8 03-31-2004 01:18 PM
Having catalog in main directory -- secure? gheffron osCMax v1.7 Installation 0 03-15-2004 01:40 AM
Secure Catalog Pages ishann osCommerce 2.2 Modification Help 0 08-22-2003 03:25 AM


All times are GMT -8. The time now is 07:54 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax