473,326 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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 (FormsAuthentication.SetAuthCookie), 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...
Jan 15 '08 #1
3 1117
jhardman
3,406 Expert 2GB
try using session variables rather than cookies. btw, this is ASP.NET, not "classic" asp, right?

Jared
Jan 16 '08 #2
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.
Jan 19 '08 #3
jhardman
3,406 Expert 2GB
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
Jan 20 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Smitro | last post by:
Hi, I'm looking for a Tutorial about Authenticating using PHP and Linux User Accounts. Can some one point me in the right direction? Smitro
9
by: Sophia | last post by:
I need to authenticate users to enter in a NTLM-protected virtual directory, but I can't pop up a NT-login dialogue box - I can only do a web-based username/password form (my client is a...
0
by: DejaUser | last post by:
I have been strugling with this one for few weeks now. I hope to get some help here. Following code works fine, except that I have to hard-code the user's fullpath (2nd parameter of the...
3
by: mrwoopey | last post by:
Hi, I am using the example "Authenticate against the Active Directory by Using Forms Authentication and Visual Basic .NET": http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340 ...
1
by: Larry Rekow | last post by:
I created a web application in classic ASP 6 months ago that had a login page which would only allow certain users to add, update or delete files from 6 different departments. (Windows 2000 server,...
1
by: William Harazim | last post by:
Is there a way, having a user entered username and password, to select a single row from pg_shadow which is using md5 password encryption? I'm currently authenticating web users (.asp page) with...
2
by: Jr. BTS dev! | last post by:
Hello all, In my web app I want to authenticate users using the Windows NT user Groups they blong to. The app will be used internally. Users will all belong to the same domain Users are...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
1
by: Mike P | last post by:
I am currently authenticating my users based upon a check to see if their details exist in a database table. How do you authenticate users based upon their Windows login? *** Sent via...
0
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i have a simple asp.net app that using window authentication integration and disallowing anonymous users. well, when a user tries to browse to this page she gets a "The page cannot be...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.