|

|
Many EZCat web sites utilize the built in customer account manager. To facilitate this you may elect to have a “LOGIN” link or a “LOGOUT” link on your web site. The problem is, which do you use, when? If the viewer is already logged in, you may wish it to read “LOGOUT” and when the viewer is logged out you may wish it to read “LOGIN”. This can be done using a little bit of programming. See below:
<% if ezcataccount>0 then %> ... [place logged in HTML here ] .... <% else %> ... [place logged out HTML here] ... <% end if %>
|
|
Using the code above, you can simply place the appropriate LOGIN or LOGOUT links on your web site and have them be visible when the appropriate conditions are met.
It is important to use the “<%” and “%>” above EXACTLY as depicted as they have special meaning to the web system
|

|