I have two pages login.aspx and default.aspx. There's an asp login box on the login.aspx control that logins a user on using there windows login details. The users is then past to the default.aspx page. This all works fine the problem I'm having is using the login name to query my sql 05 DB. Is there a way to referance a loginname control?
something along these lines
where loginname = loginname1