Help in authenticating Users in ASP.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yojimbo4
    New Member
    • Nov 2007
    • 4

    Help in authenticating Users in ASP.NET

    Hi, im currently creating a website that requires a user to log in by entering their id number, middle name and birthday before they can use the site, i have been able to do that by using a cookie (FormsAuthentic ation.SetAuthCo okie), the problem is that some people are not able to log into my site, it seems that the browser blocks the cookie that i am sending, i have already asked them to lower the settings on their privacy tab to accept all cookies, and still, they are not able to log in...

    Is there a way to solve this, or any other solution to securely authenticate a user, btw im using visual studio.net 2005, and IIS

    Tnx...
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    try using session variables rather than cookies. btw, this is ASP.NET, not "classic" asp, right?

    Jared

    Comment

    • yojimbo4
      New Member
      • Nov 2007
      • 4

      #3
      errr, sorry for the title, forgot to add .net, and also i was not able to use the "classic" ASP so i didnt know if it was classic or not.

      Also is it safer to use Session rather than cookies? Tnx for the reply, I really appreciate it.

      Comment

      • jhardman
        Recognized Expert Specialist
        • Jan 2007
        • 3405

        #4
        Originally posted by yojimbo4
        errr, sorry for the title, forgot to add .net, and also i was not able to use the "classic" ASP so i didnt know if it was classic or not.

        Also is it safer to use Session rather than cookies? Tnx for the reply, I really appreciate it.
        If by "safer" you mean "more reliable" then yes, session variables are safer. The big disadvantage is that session variables expire as soon as the user leaves the site, whereas cookies can be set to expire some arbitrary time in the future.

        We try to keep this forum for "classic" ASP (written in VBScript only), so I'm going to move this thread over to the .NET forum.

        Jared

        Comment

        Working...