Ajay Parmar
June 26th, 2008, 11:21 PM
I am using Login Control in my web site I have one folder named MemberData. This folder is locked by web.config. In this folder I have MainPage.aspx. When I try to open MainPage.aspx without login it goes to Login.aspx very nicely and when I login again it will come to MainPage.aspx very nicely. But I want when Login.aspx load in browser it will show me a message “Please login first.”
So, how I can program that give me a message on Login.aspx when I come their, from MainPage.aspx without login and when I come directly to the Login.aspx I don’t want to display that message.
Kindly help me.
So, how I can program that give me a message on Login.aspx when I come their, from MainPage.aspx without login and when I come directly to the Login.aspx I don’t want to display that message.
Kindly help me.