C
Colin Graham
Hi there,
I have an issue relating to login to my asp.net application. Basically
i have built the standard login page which compares against the
database and lets me into the next screen if username and password
match a record in the database.
Now that ive done this i realise that somone could go round this
screen by typing a direct path to the next screen. I think i could
avoid this by setting a cookie in the login screen and only allowing
the next screen to open if the cookie exists with a certain value - or
something like that.
Can anyone please advise me to the best way of doing this as im new to
asp.net. any examples greatly appreciated. what about session state is
ait better to use this. Basically i want to force users to login
through my login screen.
CG
I have an issue relating to login to my asp.net application. Basically
i have built the standard login page which compares against the
database and lets me into the next screen if username and password
match a record in the database.
Now that ive done this i realise that somone could go round this
screen by typing a direct path to the next screen. I think i could
avoid this by setting a cookie in the login screen and only allowing
the next screen to open if the cookie exists with a certain value - or
something like that.
Can anyone please advise me to the best way of doing this as im new to
asp.net. any examples greatly appreciated. what about session state is
ait better to use this. Basically i want to force users to login
through my login screen.
CG