You need cookies or session IDs for that. Then you can hide the DIV containing the log-in area based on a simple if()else() test based on a value stored...
OK, so I guess I would have something like the following up above the html declaration:
LogInSessionID = Session.SessionID
and then I would call upon it with something like this on the page:
<%IF (LogInSessionID) = "No" Then%>
Log in boxes
I get the idea of it to a degree, but I just don't know how to connect the two together. Understanding sessions has never been a strong point of mine. I don't understand how the session knows the user is not logged in. How does it know to look for and understand that "No" means the user is not logged in? Do I have to do something with my database?
I'm probably opening a can of worms here, but I need to know.
If you are using the DW login SB, you don't need to create any additional session variables. Just check if the MM_Username variable is populated:
If Session("MM_Username") <> "" Then
Excellent Bregent... as simple as that, and I can apply it to a SSI and it works a treat without having to update the whole site.
Thanks for your reply.