Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Failure to write cookie on client?

Reply
Thread Tools

Failure to write cookie on client?

 
 
Jim
Guest
Posts: n/a
 
      11-01-2005
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.

 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      11-01-2005
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.


 
Reply With Quote
 
 
 
 
Jim
Guest
Posts: n/a
 
      11-01-2005

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.
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Success Or Failure: There Is No Such Thing As Failure bs866806@163.com C Programming 0 01-06-2008 11:41 AM
Failure to write cookie for IE 6? =?Utf-8?B?Smlt?= ASP .Net 1 11-02-2005 03:45 PM
Cookie and Session Cookie Questions. Shapper ASP .Net 1 04-27-2005 11:20 AM
[JAVA] [EVALUATION] - The Java Failure (Sorry: The Java(tm) Failure) Ilias Lazaridis Java 0 02-01-2005 10:32 AM
Session cookie? Browser instance cookie? Ben ASP .Net 3 06-03-2004 03:41 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57