Session Variables in .NET

  • Thread starter Thread starter Carl
  • Start date Start date
C

Carl

Hi,

I am starting to develop an ASP.Net application.

I will have a logon page which will take a UserName and
Password. A Stored Procedure will verify that the logon
is correct.

I was going to use a Session Variable to indicate whether
the user is logged on or not. Based on this variable I
would show certain links, allow access to certain pages.

Is this a good idea or is there a better way?

Thanks.
Carl.
 
Thanks for that abacnet.

Thing is that the app will be accessed over the Internet
by strangers who can create an account and login.

So I gues s all I can use is a Session to indicate if
they have logged in or not.

Carl.
 
I don't see the problem, that's what the cookie is all about. And anyhow I
think the session uses cookies indirectly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top