swsnu / swppspr2015

Repository for discussing common issues that are not project-specific, SNU SWPP Spring 2015
https://sites.google.com/site/snuswppspr2015/
0 stars 0 forks source link

About maintaining login info in the session #6

Open Leeingnyo opened 9 years ago

Leeingnyo commented 9 years ago

Do we maintain the information of user who logged in at assignment 1?

That means we just show that successful logged in message.

When you redirect to log-in page after successful log-in, should you be possible to try to log in again?

RaySuhyunLee commented 9 years ago

I think there is no announcement about session in the specification, but I think the test program should work correctly even though I use the session, since using it in login controller is a good practice! :)

simnalamburt commented 9 years ago

스펙만 보면, 로그인 된 상태에서도 로그인이 또 되어야 하기때문에 관례적인 형태로 세션관리를 하고 로그인/로그아웃을 구현하면 오히려 문제가 될 것 같습니다.

kuna commented 9 years ago

위 분들과 마찬가지 이유로 세션유지가 스펙에 맞지 않아서 로그인 세션을 다 만들어놓고 running code에서는 비활성화시켰습니다.