Questions tagged [redirect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
51 views

Flash message disappears after redirect

So, during my work on CS50 WEB programming course I came up with this issue. In my Books application (Project 1), when user tries to leave a second review to the same book, the code doesn't let him ...
0
votes
1answer
266 views

pset 7 survey: trying to redirect to /sheet returns invalid syntax error

For part of CS50's survey problem from pset7, I'm supposed to redirect from a route that checks if the user has entered in all the survey's fields / appends the values to a csv file --> a route that ...
0
votes
0answers
407 views

flask redirect(url_for("endpoint")) navigates me to ide50blabla:8080/myEndpoint instead of https://ide50blabla:8080/myEndpoint

I submit a file in my js file : $('#myForm').trigger('submit') That file is sent to and endpoint and there I redirect to another endpoint where stuff is done, the page is rendered again with ...
0
votes
2answers
460 views

pset7 - flash message does not show on redirect

I'm trying to set up flash message to advise user that register was successful, for instance. I followed this documentation and a few variants, but still it does not show. I have also found this ...
0
votes
1answer
113 views

Final Project with Google Maps ERR_EMPTY_RESPONSE reply for index

I am working on my final project using Google Maps to make a game, and I keep running into the same error: ide50-ssk4988.cs50.io didn’t send any data. ERR_EMPTY_RESPONSE This always seems to happen ...
0
votes
1answer
274 views

"No name 'redirect' in module 'Flask'

I am attempting to run the program from lecture 8, but I am experiencing errors with statements on line 1 and 9. I am using the CS50 IDE on Cloud9. I have tried the following: Downloaded my ...
1
vote
2answers
56 views

redirect my apache index?

Hi I am trying the apache server out so i decided to install one on my Raspberry Pi. I then wanted to take the same (or some of) the code we had in pset7 and run on my own server. I have a problem ...
0
votes
1answer
424 views

Pset 6 - Parse - Too dynamic?

So I've been working on pset6 for a while now, the hardest thing with it is that it is very hard to test (I use a test.c file to do that and lots of printf functions), and the whole code of server.c ...
0
votes
1answer
248 views

pset6 redirect loop

I can't figure out what is wrong with my code, and I don't know where the issue is. I have tried to figure it out by putting printf calls everywhere, and it appears that my parse function works as ...