>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load > If Not Me.Page.IsPostBack Then > Response.Write("<script>javascript:alert('passowrd expired') </script>") > End If >End Sub >You are right. I completely missed that last night. Thanks, I will try that approach.