Jump to content
Xtreme .Net Talk

viking

Members
  • Posts

    7
  • Joined

  • Last visited

About viking

  • Birthday 05/25/1975

Personal Information

  • .NET Preferred Language
    vb.net

viking's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello people, I want to add checkboxes into a template based datagrid on to the extreme right column. And the user should be able to chose the records he/she would like to delete, much the same way emails are deleted in Hotmail or Yahoo inboxes!. Has anyone done this? Can anyone provide me with pointers to the same. I'll appreciate if the soultion is in VB. Thanks in advance Viking
  2. Have any of you folks attended a technical interview. Can anyone of you share your experiences, could you judge whether you are selected or rejected based on the interviewers body language?
  3. I have a collegue who asks one question to all those guys "What are the different collection classes in .NET" Quite frankly I dont know the answer to that too..but I dont wanna ask. Does anyone know what the hell that means?
  4. Can someone please tell me what SQL Server 2000 questions could be asked to a guy who is primarily a VB.NET front end programmer. Also what questions could be asked to him on ADO.NET?
  5. :confused: Nope! could'nt get it..could you explain a lil further? Thanks
  6. Guys, Thanks much for your suggestions so far:up: What I found out was that I need to put the following into the web.config file as well.. <authorization> <deny users="?"/> </authorization> After adding the above tags..the users are redirected to the login page. Then I added this into the click event for the login button If FormsAuthentication.Authenticate(txtUserName.Text,txtPassword.Text) Then Dim myurl As String myurl = FormsAuthentication.GetRedirectUrl(txtUserName.Text, False) If Not (myurl = "/MySecurity/default.aspx") Then 'The method below takes you back to the page you wanted to go in the first place FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, False) Else lblMsg.Visible = True lblMsg.Text = "You Are Authenticated" EndIf End If But now I have something else on hand.. If I were to go to the login page first to get authenticated (without going to any other page). Then the following function bombs.. FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, False) so..I did a workaround by putting in a check... myurl = FormsAuthentication.GetRedirectUrl(txtUserName.Text, False) If Not (myurl = "/MySecurity/default.aspx") Then .... .... .... But now after succesfully logging in I want to take my user to a welcome page which will have a kind of a site map. How do I do this?Mind you response.redirect("welcome.aspx") does not work!:(
  7. Hello everyone I just came across this forum on Google search, and thought of registering rightaway. Can anyone here advice me on how to implement forms authentication for my website. It should be something like in this 'vbulletin' software..if a user tries to access any page on my website without loggin in, he/she should be redirected back to the login page. I have put in the following code in the web.config page <authentication mode="Forms" > <forms name="AuthCookie" loginUrl="Login.aspx">:D <credentials passwordFormat="Clear"> <user name = "sandra" password="bullock"/> </credentials> </forms> </authentication> How do I go about doing things further from here? Is there a page attribute that I need to include in every page? or is there some code that I need to include on every page? Thanks in advance! Viking
×
×
  • Create New...