session start when onclick links in php

I create session start every link when its click.
I want to have a token session when I click on every link
for example
Click me1
Click me2
When i clik “click me2” then session create

<?php $_SESSION['token'] = "fgvbhnj"; ?>

.member{
padding:5px 5px;
background:#e7f9eb;
overflow:auto;
}
.memo {
float:left;width:242px;
margin:5px;
padding:5px 5px;
background:#fff;
}

<?php for( $i1 = 0; $i1 <= 5; $i1++ ) { for ($s = '', $i = 0, $z = strlen($a = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-=#$@!^&')-1; $i != 10; $x = rand(0,$z), $s .= $a{$x}, $i++); ?>
<?php echo $i1; ?>
<?php } ?>

What is the Real problem you are trying to solve. I dont mean your attempt at solving it.

Sponsor our Newsletter | Privacy Policy | Terms of Service