Cookie Test

A

Aaron Fleming

In classic ASP I have set a session variable, redirected to another
page and requested the session variable. If it wasn't there ...
redirect accordingly .. if so .. log in ..

Is there a way to quickly test for session/cookies in ASP.NET
 
D

Duane Laflotte

Aaron,
If you are looking to check to see if a user is logged in or not by
using session/cookies then what you want to look at is called forms
authentications. Basically the process you describe for your classic asp
now is done for you automatically in asp.net as long as you setup the
web.config file properly.
Here is a link that will walk you through the process...
http://www.codersource.net/asp_net_forms_authentication.aspx
or
http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=85


Good Luck,
 

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

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top