How make a success message after redirect

How make a success message after redirect

Hello folks.

I have a problem.

I've got a form for adding a person to a textfile. The form is made with html and i submit it to a perl-file, where i read out the input and write it in a textfile. After writing the file i want to make a redirect to an overview page with each user and there i want to have a success-message ("user successfully added").

Now my problem: How do i make this success-message on the overview-page after the redirect from perl? I know, i could just redirect to the overview-page with a parameter (overview.html?success=true) and then if the parameter is set, display a success-message. but if i handle it with a parameter then the success-message does not hide after a page-refresh.

i've seen a lot of web-applications where the success-message is displayd but hides after a page-refresh..

is this made with jquery? and how??

ps: here is an example of an application where they have it programmed like i want it: http://mobiapplication.onehub.com (when logged in, adding a link)

Thx for your help.