Pass in session variable in QuizMaker
Author | Message |
Without using the URI, can I pass in a userid php session variable into QuizMaker? Can I do this in QuizMaker 7?
|
The user login information could be passed through the FlashVars. Code: <PARAM NAME=FlashVars VALUE="username=Jonh%20Marshall&userid=1234&email=john@yahoo.com"> Also these variables could be passed as a GET method through the URL: Code: https://mywebsite.com/presentation.html?username=Jonh%20Marshall&userid=1234&email=john@yahoo.com
quiz.swf?username=John_Smith&email=john.smith@gmail.com
|
FlashVars will work great, I will try it.
|
I am not able to get Flash Vars to work when using PHP. Code: // From page with flash file I can get all of the other variables to work in php but not the ones coming from Flash Vars. I did not set "user name and e-mail" as I want this info to come from Flash Vars.<param name="FlashVars" value="username=abc&userid=123&email=hello"> // from submit to server php page $username = $_POST['sn']; $email = $_POST['se']; On a side note, what is the post parameter for user_id? It is not listed on http://www.ispringsolutions.com/kb/articles/quizmaker/sending-quiz-results-to-server.html. On a second side note, can I use the username inside a quiz? Code: //Example
%USERNAME%
|
I am still not able to use FlashVars or the URL parameters. I can only make it work with the in app alert prompt for email and username.
|
We are sorry for this inconvenience. UserID was removed in one of the updates. We will bring it back asap as per your request.
|
||||
|
Who is online | |
---|---|
![]() |
In total there are 9 users online :: 2 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes) Most users ever online was 803 on Sat Dec 12, 2020 9:21 am Registered users: Bing [Bot], Google [Bot] |