When I do a button click event, check a user in a database, if I set a session before my response.redirect it kicks me back to the originating page. if I take out the session setting the redirect works fine. What am I missing here.<BR><BR>Here is my code:<BR><BR> Private Sub login_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles login.Click<BR> Dim mDa As New DataAccess<BR> Dim sqlReader As SqlClient.SqlDataReader<BR> Try<BR> sqlReader = mDa.DoLogin(Request.Params.Item("username"), Request.Params.Item("password"))<BR> If sqlReader.HasRows Then<BR> If Page.IsPostBack Then<BR> Session("UserID") = sqlReader.Item("UserID")<BR> Response.Redirect("welcome.aspx")<BR> End If<BR> Else<BR> If Page.IsPostBack Then<BR> Me.ErrBox.Visible = True<BR> End If<BR> End If<BR> Catch ex As Exception<BR> Response.Write(mDa.DataError)<BR> End Try<BR> End Sub