Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notebook feature request -- make it so non-logged in users are redirected to login page #5988

Closed
williamstein opened this issue May 5, 2009 · 5 comments

Comments

@williamstein
Copy link
Contributor

I strongly agree with the following feature request. I have wanted the same feature myself.

If the sage notebook server is restarted while a logged in user is
viewing a notebook page, a user attempt to refresh the page results in
a completely blank page titled "Error | Sage Notebook".  The user must
manually edit the URL to go back to the main server page and login
again, presumably because the login credentials have been lost with
the server reboot.

But, it may not be obvious to all users what they need to do to
recover from this situation.  Is there some twisted option I can set
to either redirect the browser back to the login page, or to add
explanatory text to the blank page with a link to the login page?  If
neither of these options is currently possible, I'd like to make a
feature request to enhance the server response to an attempt to access
a page when a user is apparently not logged in, to provide the user
with a useful page, rather than a completely blank page.

I'm running sage 3.4.2.

Thanks,
--
Kevin Horton
Ottawa, Canada

CC: @TimDumol

Component: notebook

Reviewer: Karl-Dieter Crisman

Issue created by migration from https://trac.sagemath.org/ticket/5988

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 18, 2009

comment:1

See also #6069.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin removed this from the sage-4.0.1 milestone May 18, 2009
@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 25, 2010

comment:3

I think this is no longer a problem, at least with SageNB 0.7 (#8051) and maybe even with SageNB 0.6. If I try to reload the home page or an opened worksheet, I get redirected to the login page or to a page with a message, e.g.,

You are not logged in or do not have access to the worksheet 'XXX'. Continue

Clicking "Continue" takes me to the login page. But clicking on "Log," "Settings," or "Help" returns 404 Not Found, instead of redirecting to the login page.

@qed777 qed777 mannequin removed the wishlist item label Jan 25, 2010
@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 25, 2010

comment:4

Actually, this may still be a problem in WebKit browsers.

@kcrisman
Copy link
Member

Reviewer: Karl-Dieter Crisman

@kcrisman
Copy link
Member

comment:5

I cannot replicate this in Safari, Chrome, or FF on Mac. The "searching for Sage server" takes care of most instances, and I don't see the page mentioned above. Presumably the flask transition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants