Sanpark skin main page has login issue
Yes I see that it works on firefox the problem is that all our staff have to use IE So is there a way to fix it
From: jing [mailto:firstname.lastname@example.org]
Sent: 03 November 2011 11:44 PM
To: Judith Botha
Subject: Re: WEb page error
Can you try firefox? I tried the firefox and I can see "Welcome, Jing Tao...." even i logged in dataknp's home page.
On 11/02/2011 11:52 PM, Judith Botha wrote:
When I open dataknp and use the login on the page with IE it says logging in and then nothing happens after that. It seems like it does not log you in at all as if I then do a search I only get the datapackages that are public. If I go to register data and login through that interface then when I go back to the repository home it shows the welcome Judith. Kruger and then when I search I get the datapackages that I have permission to access. Please can you have a look at why that is happening
#2 Updated by Jing Tao about 8 years ago
For the first issue that a user could not log in on IE, the reason is IE invalid the login form after a div, which contains the form, was changed the content (Put label "logging in"). So the solution is: serializing the form to a variable before changing the content of the div. Send the serialized form data to the metacat server.
The second issue is that a user can log in on FF, but the search only showed the public readable data. We figured out that the search form using request.getSession().getId() and there was no mechanism to update the session id after login; so the search form would still use public session id. We add a reloading mechanism after login, then the search works (even on IE).
The involved files are