Forums

This topic is locked

Can you create a default Logged In / Out in DWMX?

Posted 11 Jan 2006 12:37:32
1
has voted
11 Jan 2006 12:37:32 Malcolm X posted:
Can you create a default Logged In / Out in DWMX?

Hey there, I am working on a web site which allows users not log in after entering a user name and password.

At the top of the page I have a text called Login. Can Dreamweaver or any other extension or language, change the text to "Logout", only after you have logged in?


Thanks.


Mally.

Replies

Replied 11 Jan 2006 17:01:27
11 Jan 2006 17:01:27 Dave Clarke replied:
<b>&lt;% if Session("MM_Username" &lt;&gt;"" then %&gt;</b>
Log-Out
<b>&lt;% End if %&gt;</b>

ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome.
www.parrotlinks.com
www.reunite.co.uk
Replied 12 Jan 2006 10:07:55
12 Jan 2006 10:07:55 Malcolm X replied:
Hey there Dave, thanks for your feed back.

I inserted that on a few of my pages but when I upload the page, the log out button will not work. Can not highlight or click on to it at all. Am I supposed to do something else with it?

Mally.
Replied 12 Jan 2006 16:56:41
12 Jan 2006 16:56:41 Dave Clarke replied:
Sorry Malcolm

I assumed you had your log-out all set up and you just wanted to know how to hide it from people who weren't logged in.

In design view, highlight your log-out button and apply the Log-Out User server behaviour from the server behaviour panel.

ASP|VBScript|IIS5.1|Access|WinXPPro & WinXPHome.
www.parrotlinks.com
www.reunite.co.uk

Reply to this topic