File: D:/HostingSpaces/SBogers10/verrassendveel.komma.pro/wwwroot/admin/php/js_updateStockcodes.php
<?php
session_set_cookie_params(0, '/', '.deensekroon.nl');
session_start();
/*
this page is loadad in forms with jquery from js_media.php
Mike Ontwerpt 2012
www.mikeontwerpt.nl
*/
/* reinclude sources (because this is a jquery-loaded pages) */
require_once 'connect.php';
require_once 'functions.php';
$stockcode = $_GET['stockcode'];
$key = $_GET['key'];
$sessionname = $_GET['sessionname'];
$_SESSION[$sessionname]['stockcodes'][$key] = $stockcode;
?>