This topic is locked
[SOLVED]

 Button Clientbefore question

11/8/2011 3:32:34 PM
PHPRunner General questions
W
wildwally author

Does the client before not recognize Session variables? Or am I using this in the wrong context?
window.location.href="QuoteRequests_view.asp?editid1=" + $_SESSION['MasterQRID'];

C
cgphp 11/8/2011

"Client before" and "Client after" are sections for JS only.

Sergey Kornilov admin 11/8/2011

Consider passing the value of this session variable from OnServer to ClientAfter event.
On server side:

$result["id"] = $_SESSION['MasterQRID'];


In ClientAfter event:

window.location.href="QuoteRequests_view.asp?editid1=" + result["id"];