Re: adding passwords to pages

message from jojo on 17 Jul 2004
Hi

It would be good to make the the wholesaler log in, you could then test
for the session variable MM_Username - or use a session name of your own
making, just make sure its different from the session variable name you
give to other customers when they log in - which DW creates by default
on your prices.

<cfif isdefined ("session.MM_Username")>
Show the wholesale price
<cfelse>
show the retail price
</cfif>
 

Archived message: Re: adding passwords to pages (Macromedia Dreamweaver Web Design)