Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer will not stay logged in (Csid problem)


keijom

Recommended Posts

Customer will not stay logged in (Csid problem).

 

For exsample:

When customer are logged in and press "shipping" - - > he go URL: shipping.php?osCsid=c0942aaa4e8794d4e4140e43ac6a6a40 and stay logged in.

 

If I change address: shipping.php (remove osCsid)--- > he logged out.

 

This is a problem when I add new pages.

 

OS 2.3.3.

Link to comment
Share on other sites

The problem is:

 

<a href="#" class="style26" onclick="var a=document.getElementById('a').value; var b=document.getElementById('b').value; var c=document.getElementById('c').value; var d=document.getElementById('d').value; var e=document.getElementById('e').value; var f=document.getElementById('f').value;window.location = 'http://www.mysite.com/advanced_search_result.php?keywords=' +a +b+c+d+e+f;return false;">

 

This is "drop down menu". Where I put osCsid code?

Link to comment
Share on other sites

<div align="center"><a href="#" class="style26" onclick="var a=document.getElementById('a').value; var b=document.getElementById('b').value; var c=document.getElementById('c').value; var d=document.getElementById('d').value; var e=document.getElementById('e').value; var f=document.getElementById('f').value;window.locati on = '<?php echo tep_href_link('advanced_search_result.php','f=1'); ?> + '&keywords=' + a +b+c+d+e+f;return false;">

 

Not working. Goes only page www.domain.com/#

Link to comment
Share on other sites

Hi Keijom,

 

I have the same problem before! The addition oScid cause the session problem! Simply go to administrator page, Configuration->sessions->Force cookie use->TRUE

The oscid in address link will disappear.

Link to comment
Share on other sites

Hi Keijom,

 

I have the same problem before! The addition oScid cause the session problem! Simply go to administrator page, Configuration->sessions->Force cookie use->TRUE

The oscid in address link will disappear.

 

Thanks for the reply. I do not want to force the browser's cookies.

Link to comment
Share on other sites

Is that only Oscommerce versio 2.3.3. problem?

 

I have two sites: 2.3.1 and 2.3.3.

 

This is not problem in 2.3.1. When customer are logged in --> every link working fine and customer stay logged in. It is not need oScid code.

Link to comment
Share on other sites

Problem solved!

 

'http://www.somethingsomething/advanced_search_result.php?keywords=' +a +b+c+d+e+f;return false;">

 

change -->

 

'<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT); ?>' + '&keywords=' +a +b+c+d+e+f;return false;">

 

Now "drop down" search working and do oscsid code. :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...