posted 20 years ago
Hi guys,
has anyone used Transaction- saveToken(request)
I am using it in my code in and its not woking..i dont know why
I have this code in my perform method od Action class
// Line 1 now start transaction for status and delete
// Line 2 resetToken(request); i wasn't using this here before but since Line 6 was returning fasle i intrduced this line
//Line 3
System.out.println(request.getSession().getAttribute(Action.TRANSACTION_TOKEN_KEY));
//Line 4
saveToken(request);
//Line 5
System.out.println(request.getSession().getAttribute(Action.TRANSACTION_TOKEN_KEY));
//Line 6
System.out.println("Calling delete"+isTokenValid(request)); -- here it is retuning false
can anyone help me