Quote
Where do i find this code?
Thanks
Posted 02 November 2004 - 08:03 PM
Quote
Posted 02 November 2004 - 08:52 PM
Posted 02 November 2004 - 09:05 PM
Posted 02 November 2004 - 09:30 PM
Posted 02 November 2004 - 10:39 PM
Quote
Edited by wizardsandwars, 02 November 2004 - 10:40 PM.
Posted 02 November 2004 - 10:46 PM
Posted 02 November 2004 - 11:11 PM
Current Parse Time: 1.225 s with 73 queries
Array
(
[QUERIES] => Array
(
[0] => select configuration_key as cfgKey, configuration_value as cfgValue from configuration
[1] => select value from sessions where sesskey = '01a0e28161b759a9d2d59ebe7220f6ed' and expiry > '1099436796'
[2] => select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from currencies
[3] => delete from whos_online where time_last_click < '1099435896'
[4] => select count(*) as count from whos_online where session_id = '01a0e28161b759a9d2d59ebe7220f6ed'
[5] => update whos_online set customer_id = '0', full_name = 'Guest', ip_address = '62.254.0.34', time_last_click = '1099436796', last_page_url = '' where session_id = '01a0e28161b759a9d2d59ebe7220f6ed'
[6] => select specials_id from specials where status = '1' and now() >= expires_date and expires_date > 0
[7] => select count(p.products_id) as total from products p left join specials s on p.products_id = s.products_id where products_status = '1'
[8] => select p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from products p left join specials s on p.products_id = s.products_id where products_status = '1' order by p.products_date_added desc limit 0, 20
[9] => select categories_id from products_to_categories where products_id = '72'
[10] => select parent_id from categories where categories_id = '28'
[11] => select products_name from products_description where products_id = '72'
[12] => select categories_id from products_to_categories where products_id = '71'
[13] => select parent_id from categories where categories_id = '28'
[14] => select products_name from products_description where products_id = '71'
[15] => select categories_id from products_to_categories where products_id = '70'
[16] => select parent_id from categories where categories_id = '28'
[17] => select products_name from products_description where products_id = '70'
[18] => select categories_id from products_to_categories where products_id = '69'
[19] => select parent_id from categories where categories_id = '28'
[20] => select products_name from products_description where products_id = '69'
[21] => select categories_id from products_to_categories where products_id = '68'
[22] => select parent_id from categories where categories_id = '28'
[23] => select products_name from products_description where products_id = '68'
[24] => select categories_id from products_to_categories where products_id = '67'
[25] => select parent_id from categories where categories_id = '28'
[26] => select products_name from products_description where products_id = '67'
[27] => select categories_id from products_to_categories where products_id = '66'
[28] => select parent_id from categories where categories_id = '28'
[29] => select products_name from products_description where products_id = '66'
[30] => select categories_id from products_to_categories where products_id = '65'
[31] => select parent_id from categories where categories_id = '28'
[32] => select products_name from products_description where products_id = '65'
[33] => select categories_id from products_to_categories where products_id = '64'
[34] => select parent_id from categories where categories_id = '28'
[35] => select products_name from products_description where products_id = '64'
[36] => select categories_id from products_to_categories where products_id = '63'
[37] => select parent_id from categories where categories_id = '28'
[38] => select products_name from products_description where products_id = '63'
[39] => select categories_id from products_to_categories where products_id = '59'
[40] => select parent_id from categories where categories_id = '27'
[41] => select products_name from products_description where products_id = '59'
[42] => select categories_id from products_to_categories where products_id = '58'
[43] => select parent_id from categories where categories_id = '27'
[44] => select products_name from products_description where products_id = '58'
[45] => select categories_id from products_to_categories where products_id = '57'
[46] => select parent_id from categories where categories_id = '27'
[47] => select products_name from products_description where products_id = '57'
[48] => select categories_id from products_to_categories where products_id = '56'
[49] => select parent_id from categories where categories_id = '27'
[50] => select products_name from products_description where products_id = '56'
[51] => select categories_id from products_to_categories where products_id = '55'
[52] => select parent_id from categories where categories_id = '27'
[53] => select products_name from products_description where products_id = '55'
[54] => select categories_id from products_to_categories where products_id = '54'
[55] => select parent_id from categories where categories_id = '27'
[56] => select products_name from products_description where products_id = '54'
[57] => select categories_id from products_to_categories where products_id = '53'
[58] => select parent_id from categories where categories_id = '27'
[59] => select products_name from products_description where products_id = '53'
[60] => select categories_id from products_to_categories where products_id = '52'
[61] => select parent_id from categories where categories_id = '30'
[62] => select products_name from products_description where products_id = '52'
[63] => select categories_id from products_to_categories where products_id = '51'
[64] => select parent_id from categories where categories_id = '30'
[65] => select products_name from products_description where products_id = '51'
[66] => select categories_id from products_to_categories where products_id = '49'
[67] => select parent_id from categories where categories_id = '27'
[68] => select products_name from products_description where products_id = '49'
[69] => select startdate, counter from counter
[70] => update counter set counter = '558'
[71] => select count(*) as total from sessions where sesskey = '01a0e28161b759a9d2d59ebe7220f6ed'
[72] => update sessions set expiry = '1099438237', value = 'cart|O:12:\"shoppingcart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:6:\"cartID\";N;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"GBP\";navigation|O:17:\"navigationhistory\":2:{s:4:\"path\";a:2:{i:0;a:4:{s:4:\"page\";s:16:\"product_info.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:2:{s:5:\"cPath\";s:2:\"22\";s:11:\"products_id\";s:2:\"29\";}s:4:\"post\";a:0:{}}i:1;a:4:{s:4:\"page\";s:9:\"index.php\";s:4:\"mode\";s:6:\"NONSSL\";s:3:\"get\";a:2:{s:6:\"output\";s:1:\"1\";s:6:\"osCsid\";s:32:\"01a0e28161b759a9d2d59ebe7220f6ed\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:0:{}}' where sesskey = '01a0e28161b759a9d2d59ebe7220f6ed'
)
)
Posted 03 November 2004 - 12:04 AM
Posted 03 November 2004 - 04:48 PM
RavenWulf, on Nov 2 2004, 02:02 PM, said:
Jamsy, on Nov 2 2004, 03:03 PM, said:
RavenWulf, on Nov 2 2004, 04:05 PM, said:
wizardsandwars, on Nov 2 2004, 05:46 PM, said:
gscreations, on Nov 2 2004, 06:11 PM, said:
Current Parse Time: 1.225 s with 73 queries < SNIP Lots of data >
Konquest, on Nov 2 2004, 07:04 PM, said:
Posted 03 November 2004 - 05:16 PM
Posted 03 November 2004 - 07:40 PM
Spaceboy, on Nov 2 2004, 09:30 PM, said:
Chemo, on Nov 3 2004, 04:48 PM, said:
Posted 03 November 2004 - 08:16 PM
Terfexdotcom, on Nov 3 2004, 09:40 PM, said:
Posted 04 November 2004 - 02:37 AM
Posted 04 November 2004 - 02:49 AM
wizardsandwars, on Nov 3 2004, 09:37 PM, said:
Posted 04 November 2004 - 05:40 AM
global $SID $this->customer_sid = $SID;
...
echo str_replace(array("<%CART_CACHE%>", "<osCsid>"), array($this->customer_cart, $this->customer_sid), file_get_contents($this->cache_file) );
...
$buffer = preg_replace("/osCsid=.{32}/", "<osCsid>", $buffer);
Posted 04 November 2004 - 09:28 AM
Quote
Posted 04 November 2004 - 10:56 AM
Quote
Quote
Posted 04 November 2004 - 01:26 PM
Posted 04 November 2004 - 01:44 PM
Posted 04 November 2004 - 06:20 PM
Chemo, on Nov 2 2004, 11:41 AM, said:
function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = false, $search_engine_safe = true) {
Now, even if the session_id's are not appended to the URL they will still be created for guests uniquely. Once they log in they get another or resume a previous. Once they put something in their cart the session_id is recorded in session and that is good for the life of their visit. If they log in they will get a more permanent session_id.function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = false, $search_engine_safe = true) {