[BNM] runat = server .net question

Jason Bailey jasonslbailey at yahoo.co.uk
Fri Mar 27 12:28:16 GMT 2009


Cheers Wayne
This is starting to make sense but the dba hasn't given me access to the code yet (off at lunch!). I've been trying to bone-up on asp.net but this is webforms (classic?)ASP.

The example I gave wasn't the real one but we have a form which takes username and password. 
i.e. 
<form id="frmUserAuthenticate" method="post" runat="server">
(was hoping to see action ="processpage.aspx")

So "generally" I'm looking for code the behind page which will process the post i.e. there's some ldap authentication stuff going on and we want to edit it i.e. change cn to uid.

At the top of the page there is:

<%@ page language="vb" autoeventwireup="false" inherits="PFACT.UserAuthenticate, test203a" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Does this mean that somewhere ther'e some code behind called

PFACT.UserAuthenticate.vb and test203a.vb

and this is probably where the ldap authentication is going on?

Jas

--- On Fri, 27/3/09, Wayne Douglas <wayne at codingvista.com> wrote:

> From: Wayne Douglas <wayne at codingvista.com>
> Subject: Re: [BNM] runat = server .net question
> To: "Brighton New Media" <bnmlist at brightonnewmedia.org>
> Date: Friday, 27 March, 2009, 11:46 AM
> server is the server feeding the
> asp.net app.
> 
> runat=server tells the asp.net pipeline to process these
> tags.
> 
> If it's using classic ASPX and not a view engine of some
> sort then the code
> recieving the click event of that button where the doSubmit
> event lives will
> be in a file called <pagename>.aspx.cs
> 
> hth
> 
> w://
> 
> 
> 
> 2009/3/27 Jason Bailey <j.bailey at sussex.ac.uk>
> 
> > Hello
> >
> > Got something like:
> >
> > <Form id="form1" runat="server">
> >        First Name: 
> <asp:TextBox id="txtFirst" runat="server"
> /><br>
> >        Last Name: 
> <asp:TextBox id="txtLast" runat="server" />
> >        <asp:Button id="button1"
> Text="Submit" onclick="doSubmit"
> > runat="server" />
> > </Form>
> >
> > on a third party package.
> >
> > where is the server? How can I see what's being done
> to the data?
> >
> > Sorry not a .netty person.
> >
> > Jason
> >
> > --
> > Jason Bailey
> > IT Services
> > University of Sussex
> > http://www.sussex.ac.uk/USIS/phone/details.php?id=17011
> > --
> >
> > BNM Subscribe/Unsubscribe:
> > http://www.brightonnewmedia.org/options/bnmlist
> >
> > BNM powered by Wessex Networks:
> > http://www.wessexnetworks.com
> >
> >
> 
> 
> -- 
> Cheers,
> 
> w://
> -- 
> 
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
> 
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
> 


      


More information about the BNMlist mailing list. Powered by Wessex Networks