||Effective Forms Authentication, Part 1|
its working fine when i test it.
after sucessfully authenticated iam storing username and password in session (since i am using sql users and roles, i need password for connection string). but after some times when the session is expired that is when session("username") become null. its noe redirecting to login page, its showing sql login error.
i need to check in every page
if session("username") is nothing then
redirect to login page