CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Hide Link in Header based upon Session variable

Print topic Send  topic

Author Message
brad

Posts: 2
Posted: 10/15/2009, 11:21 AM

I'm trying to hide a Logout link on my header if there is no User logged in. I've tried putting the below code into several places - but the link never hides? Any thoughts?

==my code in Header_events.asp==
Function Header_lnkLogout_BeforeShow(Sender) 'Header_lnkLogout_BeforeShow @16-C89902CF

'Custom Code @19-73254650
' -------------------------
' Write your own code here.
' -------------------------
If IsEmpty(Session("UserID")) Then
header.lnkLogout.Visible = False

End If

'End Custom Code
View profile  Send private message
brad

Posts: 2
Posted: 10/15/2009, 2:55 PM

Resolved.

Argh, I forgot to set the Visible property to Dynamic for my link.

Thank you Yes support!
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.