surnorte / capstone

Capstone project for CSCI E-99, SurNorte team
GNU General Public License v3.0
0 stars 2 forks source link

results - examine ajax failures to handle logout cleanly #6

Closed rascalking closed 9 years ago

rascalking commented 9 years ago

Server returns 200 with {error: "User not logged in"} when this happens.

rascalking commented 9 years ago

After restructuring the workflow, the only ajax call the results page makes is to post back normalized data if it only got raw. That happens as soon as the page is loaded. Ideally, we'd want to catch it, then use a modal iframe or something on top of the current page to let them log back in without losing their place in their current workflow.

For now, since we're just storing derived results to avoid recalculating them, we're just going to ignore it.