Using cookies to store user authentication

  • Thread starter Thread starter Simon Harvey
  • Start date Start date
S

Simon Harvey

Hi everyone,

I'm trying to get my head around the best way to work with Forms
Authentication. At the moment I think I'm looking at using a cookie to store
the authTicket that I'll create when a user logs in successfully.

The one thing I'm wondering is, if the user has a cookies switched off, or
restricted, will my application automatically jump to URL re-writing to
handle this?

As I understand it, there is a way to have asp.net do this, but I'm not sure
if the way I am currently approaching it is the correct way.

Many thanks in advance for any help you can offer

Kindest Regards

Simom
 
there is no automatic mode even for session support in asp.net, which also
uses cookies.

-- bruce (sqlwork.com)
 
It is true that Session uses cookies, but people may turn cookies off
but leave the "special" session cookie available only. I have found
this to be a workable solution for most people.
 
Back
Top