On Sunday 29 December 2002 23:24, Pag wrote: > This post is merely for reference and, hopefully, to help out some > other person that runs into the same problem. > > I solved my duplicate form post problem using that middle-man > technique you guys mentioned, but i did it in a little more user friendly > way than using a complete page and redirecting back to the original. (thus > preventing some design problems on my specific site) > > I used some javascript to open a small window, it has the code to > insert the comment into the database, thanks for the user input and > immediately closes and refreshes the original, showing that last inserted > comment. Works very smoothly, and if the user connection is fast enough, he > doesnt even notice the window.
Maybe I'm missing something here but I'm not sure why you consider it more user friendly to pop-up a window (and have it disappear automatically). If I was a user I would be thinking "what the hell was that?". And if their connection was fast enough that they don't even notice the window pop-up & disappear, and just see the main page refresh how different is that to the 'one page and use a "middle-man" technique'? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* If *I* had a hammer, there'd be no more folk singers. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php