inserts data into dbase, logs out a user session) that need to work
independently of each other, but I cannot put all these controls into
more than one form tag, as asp.net pages are not allowed to have more
than one < form runat: server> tag. . If i try to logout of a session
on the page with this:
'''
<script language="VB" runat="server">
Sub logout(Sender As Object, e As EventArgs)
Session.Clear()
Response.Redirect("admin-login.aspx")
End Sub
</script>
<asp:Button id="button4" onClick="logout" Text="Logout"
class="inputSubmit" runat="server" />
'''
...it tries to post my info again from the insert textbox objects
before the logout button.
??
chumleyiframes?
Eliyahu
"Chumley the Walrus" <springb2k@.yahoo.com> wrote in message
news:1ef65641.0408030802.1c912932@.posting.google.c om...
> I have a series of controls (a few buttons that clears content,
> inserts data into dbase, logs out a user session) that need to work
> independently of each other, but I cannot put all these controls into
> more than one form tag, as asp.net pages are not allowed to have more
> than one < form runat: server> tag. . If i try to logout of a session
> on the page with this:
> '''
> <script language="VB" runat="server">
> Sub logout(Sender As Object, e As EventArgs)
> Session.Clear()
> Response.Redirect("admin-login.aspx")
> End Sub
> </script>
> <asp:Button id="button4" onClick="logout" Text="Logout"
> class="inputSubmit" runat="server" />
> '''
> ..it tries to post my info again from the insert textbox objects
> before the logout button.
> ??
> chumley
0 comments:
Post a Comment