Session variables
It is kind of strange, but I am having a weird problem. After user loged in, I validate user against SQL User table, and store id in SESSION(USERNAME). Next, upon every Page_Init, I check If IsNothing(SESSION(USERNAME)). If it is nothing, I redirect back to Login page. The strange part is that I get redirected to Login page when going between pages. For some reason SESSION(USERNAME) becomes NOTHING. If any one of you had the same problem, or have any ideas, please let me know. Thanks.