ajaysingh369 Posted November 2, 2006 Posted November 2, 2006 i have to add some new pages in oscommerce project ie refer to friends,in which a registered user can refer site to their friends. i have to create a new table in data base named referal wth fiels as customer_id, refer_email,date,status. Innitially status is pending untill person got registered wth site. problem is i m not able to retrive customer id from session so that i could insert it in table.
Frank Heinen Posted November 2, 2006 Posted November 2, 2006 What version of osCommece are you using? V2.2 MS2?
ajaysingh369 Posted November 2, 2006 Author Posted November 2, 2006 What version of osCommece are you using? V2.2 MS2? Hello sir first of thanx for reply.i m using 2.2MS2 version of oscommerce. one thing more sir.after login when i moved to new pages i just lost my login ie i have logged my self again .why dis problem occures?
smithveg Posted November 2, 2006 Posted November 2, 2006 one thing more sir.after login when i moved to new pages i just lost my login ie i have logged my self again.why dis problem occures? You can try to comment out all the code in that new page. And try to write a simple send mail or pop-up message box to retrieve the customer session. Because onece a customer had login, he never automatically logout until the session end or he/she logout by a click. Just me programming knowledgem, and hopes this can make a new sense to you. **** Hello World! ^.^ I'm a Internet naive. Browse my working profile Malaysia Web Services - OPerion Website Marketing System
AlanR Posted November 2, 2006 Posted November 2, 2006 This thread should be moved to the appropriate channel (osCommerce Support > General Support) If some discipline is not enforced this forum will become as confusing as the others. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
magicspon Posted November 2, 2006 Posted November 2, 2006 hi, got a similar question. i want to add an 'about' page on my site, do i just create about.php and if so what code do i have to input?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.