I have two asp pages createuser.asp and edituser.asp
if user visit edituser.asp page it shows all the current user in the drop
down box (which it gets from database)
Now if i createuser.asp and then in the same session i go to edituser.asp,
in teh drop down box it doesn't show the newuser that i created. I have to
click refresh to see the change.
I want to refresh the page only once when the page is opened.
I used the follwoing code:
<head>
<script language="JavaScript">
var sURL = unescape(window.location.pathname);
function refresh()
{
window.location.href = sURL;
}
</script>
</head>
<body bgcolor="#FFFFFF" onload="refresh()">
but this page keeps reloading the editpage every sec..wich is so annoying
to the users eyes.......is there a way when i come to the edituser.asp
page it refresh once as soon as it is opened?
is there a solution for this?...please let me know...
THANKS IN ADVANCE
Sukhi