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_f...ntication.aspx
or
http://www.devhood.com/tutorials/tut...tutorial_id=85
Good Luck,
--
Duane Laflotte
MCSE, MCSD, MCDBA, MCSA, MCT, MCP+I
dl*******@criticalsites.com http://www.criticalsites.com/dlaflotte
"Aaron Fleming" <aa***********@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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