Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

i want to add new pages


ajaysingh369

Recommended Posts

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...