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

 Show link if Session ID="1",Hide link for all other Session ID's

Print topic Send  topic

Author Message
Joe
Posted: 01/13/2005, 8:25 AM

All I want to do is. Show link if Session ID="1",Hide link for all other Session ID's

Any help would be great.

.ASP
mrachow


Posts: 509
Posted: 01/13/2005, 12:45 PM

Do you mean a session variable called ID?
if seyssion("ID") = 1 then
yourLink.Visible = false
end if
_________________
Best regards,
Michael
View profile  Send private message
Joe
Posted: 01/14/2005, 6:23 AM

You the man, Thanks for the help. I had to tweak your code just a little but you gave me direction, Thanks

if session("ID") = "1"
then
yourLink.Visible = true
esle
yourLink.visible = false
end if
DonB
Posted: 01/14/2005, 11:15 AM

A nice shorthand for that is:

yourLink.Visible = (Session("ID") = 1)

--
DonB

http://www.gotodon.com/ccbth


"Joe" <Joe@forum.codecharge> wrote in message
news:641e7d5ddf259b@news.codecharge.com...
> You the man, Thanks for the help. I had to tweak your code just a little
but you
> gave me direction, Thanks
>
> if session("ID") = "1"
> then
> yourLink.Visible = true
> esle
> yourLink.visible = false
> end if
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.

Web Database

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.