EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

Add user message when authenticated users switch nodes #1277

Closed murphysj closed 8 years ago

murphysj commented 8 years ago

WHO: Sylvia

Fei had an issue where he was editing a page on one node and then went to edit a page on a different node. This process dumped him to a login screen. He did not realize that each node requires its own login.

This may not be possible, but some sort of "your leaving this node" message might be helpful.

murphysj commented 8 years ago

Created javascript function to do this. Added that function as an onclick to the project browser links.

downside is you can't style JS alert boxes.

We can create our own using jquery but that adds more complexity.

Also, would we really want this EVERY time? Perhaps we can make it once per session.

murphysj commented 8 years ago

C would like session expiration. Will need to try to do our own alert in order to do that.

murphysj commented 8 years ago

Had to rewrite the session code. It works now....tested on cu dev.