dinky icon indicating copy to clipboard operation
dinky copied to clipboard

[Bug] [WEB] Session超时不能自动跳转到登录页面

Open zhuxt2015 opened this issue 1 year ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Session超时, 在页面上任何操作不生效, 或者直接报错

What you expected to happen

session超时应该直接跳转到登录页面

How to reproduce

等session超时, 目录下打开一个作业

Anything else

No response

Version

dev

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

zhuxt2015 avatar Sep 08 '22 08:09 zhuxt2015

我觉得这个是不是可以考虑把session模式改为cookie模式或者token模式

jinyanhui2008 avatar Sep 19 '22 02:09 jinyanhui2008

This is a good feature, but, when we usually write flinksql, we may stay on this page for a long time, and when we save it, the session may expire. 这是一个很好的功能,但是,我们平时写flinksql的时候,可能会在这个页面停留很久,在保存的时候,可能session就过期了。

How to make sure our sql will not be lost because of page refresh? I think a simple way is to not jump to the login page in this page, and remind the user by a Modal to save it manually and then confirm the jump to the login page. 怎么保证我们的sql不会因为页面刷新丢失呢?我想到一个简单的方式是,在这个页面不跳转到登录页,通过一个Modal来提醒用户,让他手动保存后再确认跳转到登录页。

Do you have any suggestions? 您有什么建议吗?

wellCh4n avatar Dec 12 '22 17:12 wellCh4n

Can we make dinky support auto save in sql edit page

hdygxsj avatar Aug 12 '23 18:08 hdygxsj

1.0 has added

gaoyan1998 avatar Dec 15 '23 15:12 gaoyan1998