At 21:55 01/18/01, Manjuka Soysa wrote:
>Hi,
>I have a problem with the logging in procedure of jetspeed.
>After logging in, the Home page is shown on the browser, but the URL is
>still the login page.
>So if you do a refresh, it does a re-post. Also if there are forms in
>the home page without an action parameter,
>the user gets logged out because of the post into the login page.
I already changed the forms yesterday and set an action in all of them -
the URL should change to something like "screen/Home" after you submitted
the login-form.
I don't know how we could avoid the re-post: If the page resulted from a
post request the browser (at least netscape) will repeat the last request
when you click on reload - and if this last operation was a HTTP Post,
netscape will ask you if you want to re-post the data.
>What is the general approach in jetspeed to set the URL?
>Thanks in advance for any help,
>Manjuka
I think there is no "general approach", (and there are only a few,
unimportant forms in jetspeed). I personally try to avoid JavaScript
whenever possible, but it might make sense for more sopisticated form
handling? I'm not an JavaScript guru, I have to admit...
What are the opinions regarding how forms ought to be handled? Let's define
what the general aproach should be!
ingo.
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]