Kris <> wrote in message news:<kristiaan->...
> In article < >,
> (Colin Steadman) wrote:
>
> Display the success-message in the page you are directing to, not
> separately; so, don't attempt to mess with back-buttons or browser's
> history, instead build your application more robust and usable.
Bugger, I thought there might be a nice easy META or something I could
use!
> If for instance the redirected page is a list of database items that one
> returns to, display the success message above that list, clearly
> indicated to draw attention (thick border, anyone?).
I think I can do this. But instead of displaying the message above
the data, I think I can display the message own its own first, and
then the database information using some of the script from my
messages.asp page:
<html>
<head>
<title>TEST</title>
<%If Len(Session("message")) > 0 Then
<meta http-equiv="refresh" content="2; url=page1.asp">
<%End If%>
</head>
<body>
<%
If Len(Session("message")) > 0 Then
'Display database update message
Response.write Session("message")
Session("message") = ""
Else
'Display normal page
End If
%>
</body>
</html>
Thanks for your help (+ other contributors).
Colin