Hi,
Thanks for your response, please could you explain more detail how to pass $request to function so that the system processing it? I'm not familiar with Symfony.
To get the request info, pass Symfony\Component\HttpFoundation\Request $request to the function and check $request->query->getBoolean(’static’)
Actually, I would like to set the static value to 1 in RootController before redirect it to public_index, so I need to get the request and set that value.
Regards, Trần Bình Dương (Mr) IT Lecturer Software Engineering Department , FPT University 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi Mobile:(+84) 936168165 Skype: avn_duong.tb E-mail: duongtb@fe.edu.vn Website: ....
________________________________ Từ: Nicky Gerritsen nickygerritsen@me.com Đã gửi: 28 Tháng Mười 2020 5:14 CH Đến: Tran Binh Duong (FE FPTU HN) DuongTB@fe.edu.vn Chủ đề: Re: ***UNCHECKED*** About: config to set /login as a start point of domserver webapp when user access to it
Hi,
Change the logic here: https://github.com/DOMjudge/domjudge/blob/master/webapp/src/Controller/RootC...
To get the request info, pass Symfony\Component\HttpFoundation\Request $request to the function and check $request->query->getBoolean(’static’)
Nicky On 28 Oct 2020, 11:12 +0100, Tran Binh Duong (FE FPTU HN) DuongTB@fe.edu.vn, wrote: Hi,
Because of separating user flows into two lines in our system, I need to drive the contestant access flow to /login page first, and public audience to /public page with a paramenter as static=1.
Which is the options I can do?
Trần Bình Dương (Mr) IT Lecturer Software Engineering Department , FPT University 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi Mobile:(+84) 936168165 Skype: avn_duong.tb E-mail: duongtb@fe.edu.vn Website: ....
_______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
Hi,
I'm sorry, I got it and make it done, thanks for troubling you!
Trần Bình Dương (Mr) IT Lecturer Software Engineering Department , FPT University 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi Mobile:(+84) 936168165 Skype: avn_duong.tb E-mail: duongtb@fe.edu.vn Website: ....
________________________________ Từ: Tran Binh Duong (FE FPTU HN) DuongTB@fe.edu.vn Đã gửi: 29 Tháng Mười 2020 12:10 CH Đến: Nicky Gerritsen nickygerritsen@me.com; domjudge-devel@domjudge.org domjudge-devel@domjudge.org Chủ đề: Trả lời: ***UNCHECKED*** About: config to set /login as a start point of domserver webapp when user access to it
Hi,
Thanks for your response, please could you explain more detail how to pass $request to function so that the system processing it? I'm not familiar with Symfony.
To get the request info, pass Symfony\Component\HttpFoundation\Request $request to the function and check $request->query->getBoolean(’static’)
Actually, I would like to set the static value to 1 in RootController before redirect it to public_index, so I need to get the request and set that value.
Regards, Trần Bình Dương (Mr) IT Lecturer Software Engineering Department , FPT University 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi Mobile:(+84) 936168165 Skype: avn_duong.tb E-mail: duongtb@fe.edu.vn Website: ....
________________________________ Từ: Nicky Gerritsen nickygerritsen@me.com Đã gửi: 28 Tháng Mười 2020 5:14 CH Đến: Tran Binh Duong (FE FPTU HN) DuongTB@fe.edu.vn Chủ đề: Re: ***UNCHECKED*** About: config to set /login as a start point of domserver webapp when user access to it
Hi,
Change the logic here: https://github.com/DOMjudge/domjudge/blob/master/webapp/src/Controller/RootC...
To get the request info, pass Symfony\Component\HttpFoundation\Request $request to the function and check $request->query->getBoolean(’static’)
Nicky On 28 Oct 2020, 11:12 +0100, Tran Binh Duong (FE FPTU HN) DuongTB@fe.edu.vn, wrote: Hi,
Because of separating user flows into two lines in our system, I need to drive the contestant access flow to /login page first, and public audience to /public page with a paramenter as static=1.
Which is the options I can do?
Trần Bình Dương (Mr) IT Lecturer Software Engineering Department , FPT University 29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi Mobile:(+84) 936168165 Skype: avn_duong.tb E-mail: duongtb@fe.edu.vn Website: ....
_______________________________________________ DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel