By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,290 Members | 1,666 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,290 IT Pros & Developers. It's quick & easy.

Failure to write cookie on client?

P: n/a
Jim
Hi,

I have an Asp.Net 1.1 site which uses basic forms authentication. This
has been working fine, since way back in the 1.0 days. Twice in the last 2
months, a client has been unable to log in, once each on both her home
machine and her work machine. She gets the login screen, then gets redirected
there once again, continuously. There is no incorrect login message, and I
see a DB entry for her successful login, so I know she is using a correct
username/password. But instead of writing the cookie and moving on to the
regular admin page, she is redirected back to the login screen.

She has logged in every workday for 4 years. My code has not been changed
in the last 3 weeks.

This happens with IE 6. She has cleared her cookies, history, and temp
files, with no change. She downloads Netscape and logs in on the first try.

With IE, after clearing her cookies, she attempts a login, and is
authenticated just fine (according to the DB entry), but no cookie appears,
and back she goes to the login screen. She had a valid cookie yesterday (and
every workday for years), but if the cookie was corrupted, deleting cookies
should have fixed that, and a new one should have been written.

It's almost as if the writing of the new cookie failed on the client. Has
anyone ever heard of such a thing? Or is this absolutely something with my
(very simple) login code, even though it worked fine for years, worked 1
minute later with Netscape, and will probably work again tomorrow.

I will be updating my code over the winter to use 2.0's role-based stuff,
but I'm not sure if this will make this very intermittent problem disappear.

Thanks in advance for any help/ideas/insight.

Nov 1 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jim wrote:
Hi,

I have an Asp.Net 1.1 site
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a newsgroup where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
which uses basic forms authentication.

<snip>
I've no experience with forms authentication in .Net. I suggest posting to
the dotnet group.

Bob Btrrow
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Nov 1 '05 #2

P: n/a
Jim

Thanks, Bob. I was trying to find such a newsgroup. Why that would be
under Framework instead of Web development is a little confusing to me, but I
will try again in the right place now. Thanks again.

"Bob Barrows [MVP]" wrote:
Jim wrote:
Hi,

I have an Asp.Net 1.1 site


There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a newsgroup where the dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
which uses basic forms authentication.

<snip>
I've no experience with forms authentication in .Net. I suggest posting to
the dotnet group.

Bob Btrrow
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Nov 1 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.