Hey everyone,
So I've looked and tried to figure out how to get the user to "log in" before accessing a page. However I've seen where you send the user to the log in page if he or she has not log in but what about if the person has logged in already?..
for ex
if {
///enter code to redirect to login page///
}
exit()
or how ever it's coded but how do you make the "else" part of the function redirect to the current page so the log in viewer can "view" or access the page?