i have 2 pages in my application: Login.aspx & Home.aspx.
Now if user is not login, he should not access the Home.aspx from a web browser.
I know that is possible by session, but don't know how to implement the same.
let me know how to do that?
thanks!
i don't know exactly what do u want but here is a solution 1. create seesion variable after successful login like this
Session["username"] = textbox1.text;
after u created the session varible make use of
Server.Transfer()
method in your code
That is the only way i know how to do it currently and good luck