Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help?!? how to make a weblink with Session ID, osCid attached...


chriz777

Recommended Posts

Hi,

 

I want to create a weblink, I don't know anything about php code, but what I do know is that.

I put my live site on REQUIRED LOGIN, so when they login with their user name, they get a SESSION ID behind the page name that their visiting.

 

For example:

 

www.mysite.com/index.php?osCsid=21abcff59418d42e16d9429259ec5076

www.mysite.com/account_history.php?osCsid=21abcff59418d42e16d9429259ec5076

 

(session Id = osCsid=21abcff59418d42e16d9429259ec5076)

 

 

Now I made a weblink (txt) in a page,

 

for example (using the above mentioned session id):

 

(xxx = a)

 

<xxx href="fss_forms_detail.php?forms_id=4"> Contact Us </a>

 

 

PROBLEM = that it doesn't have the SESSION ID, in the browser window, it will ask the client to RE-LOGIN, each time they press that link >>> unenabling them from viewing that link and therefore that page.

 

 

so in the browser it says this: www.mysite.com/fss_forms_detail.php?forms_id=4 (unable to view the page)

 

it should say something like this instead: www.mysite.com/fss_forms_detail.php?forms_id=4?osCsid=21abcff59418d42e16d9429259ec5076

 

 

QUESTION?!???

How do I make a correct weblink (textlink) to a page with the session id attached (since it is a variable)???? Please I'm a total noob, so give me a step by step guide... that I can understand...

 

Thanks in advance for any help offered.... :S

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...