HighDots Forums  

adding passwords to pages

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss adding passwords to pages in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
A.H.O.
 
Posts: n/a

Default adding passwords to pages - 07-16-2004 , 11:47 PM






Would someone be so kind as to tell me how to add a password to a page, or where to go to find the info? Thanks a lot!

Reply With Quote
  #2  
Old   
jojo
 
Posts: n/a

Default Re: adding passwords to pages - 07-17-2004 , 04:01 AM






A.H.O. wrote:

Quote:
Would someone be so kind as to tell me how to add a password to a page, or where to go to find the info? Thanks a lot!
Hi

I have a video/written tutorial at the link below that tells you how to
use the authentication server behaviours. The example uses ColdFusion
but the steps you follow are the same for all the languages that DW
supports with this Server Behaviour.

http://www.communitymx.com/abstract.cfm?cid=A222302CBCA928EB

--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------


Reply With Quote
  #3  
Old   
A.H.O.
 
Posts: n/a

Default Re: adding passwords to pages - 07-17-2004 , 01:22 PM



Thanks a lot. This tutorial has a lot of terms I dont quite understand yet.
Im gaining a grasp, but before I get to far I'll explain what Im trying to do.

I have a resail and wholesale business. On my web site I havea retail side
store and a wholesale side store (because of the differing prices) Obviously I
dont want the retail side to be able to see the pricing etc. on the wholesale
side. So I want to protect the wholesale side pages with a user login and
password. It sounds like that tutorial is what Im looking for, but Im not
quite sure. lol




Reply With Quote
  #4  
Old   
jojo
 
Posts: n/a

Default Re: adding passwords to pages - 07-17-2004 , 01:44 PM



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>


--
Cheers jojo
Team Macromedia Member Volunteer for Dreamweaver MX
http://www.webade.co.uk
----------------------------------------------------
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm
----------------------------------------------------

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.