transfer data from one site to next site

On my site http://update.ktkro.de/probetraining-2 I want to transfer selected training type by clicking "hover box" or "hover color" to the next page. On the next page, I want to recognize, witch type of training the visitor selected, so he can choose the age.

I tried this with cookies and added a function to the "custom css" section of the page.
function SetTrainingType($TrainingType) {
    setcookie( 'TestTraining_TrainingType', $TrainingType, time()+3600*24*100, '/', 'update.ktkro.de', false);
    echo $TrainingType
}
But I don't know where to call my function. At button I placed the call at "OnClick": SetTrainingType('2')

I never used to transfer data from one site to next site, so it would be nice if anybody could help me, what would be the best way. Could I use the database to write the selection to a table and read this information from the next website? Or do I have to use cookies?

Thx. for your help
Best regards
Christine

Comments

  • Hi,

    what you ask for, requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact with your web developer because only he would be responsible for all your modification.

    Thanks!
Sign In or Register to comment.