Working on the Loginmechanism… But got problems..
I have a UserControl (LoginUserControl.ascx) placed on a Default.aspx, which is in my Masterpage(Site.Master)…
Over the UserControl, the User can login…
Now I would like to set a global Variable, which won’t change its Value, wherever I navigate…
A Variable like, IsLogged, (true/false).
Because I got problems with Viewstate and when I change an other Site (by Example to MyOtherSite.aspx), IsLogged is then false…
How can I do it?
If its depending on each user session. Write the Value in the Session.