Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alert message at load time gives alert at refresh

Status
Not open for further replies.

Pro79

Programmer
Dec 11, 2003
24
IN
HI
I am making one application in struts. I have to display alerts when some work is complete. what i do i set some variables in request and at load time i put a javascript function then it works.
but if i refresh the page or after going another page i come back to previous page i get the same alert.
I coming back to page by using javascript.history(-1). I can handle this javascript but i am not able to handle those variables if the page is refreshed.

is there any other way to give this alert.

Waiting for reply
Thankyou
Regards
 
Drop a cookie on the system... If the cookie is there - keep quiet, if it ain't, show the alert. It's not perfect, but it should help you out for ninety-nine percent of cases.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top