|
C
|
cgphp 6/18/2013 |
|
Session variables are what you are looking for. $_SESSION['my_custom_var'] = 'My custom value';
$strWhereClause = whereAdd($strWhereClause, "you_field_name = '" . $_SESSION['my_custom_var'] . "'");
|
|
|
H
|
headingwest author 6/18/2013 |
|
Thank you Cristian, $_SESSION['my_custom_var'] = 'My custom value';
echo "This is a test message to show ... ";
print_r ($_SESSION);shows a lot of session variables but not my_custom_var |
|
|
C
|
cgphp 6/18/2013 |
|
echo does not behave like a function. Please, fix your code as follows: echo "This is a test message to show ... ";
|
|
|
H
|
headingwest author 6/18/2013 |
|
hhhmmm. This works if I set the SESSION in Menu page:Before Display |
|
|
C
|
cgphp 6/18/2013 |
|
Do you have a redirection code or something similar in the "After Successful Login" event before the SESSION var? |
|
|
H
|
headingwest author 6/18/2013 |
|
Do you have a redirection code or something similar in the "After Successful Login" event before the SESSION var?
|
|