
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 |
 |
 |
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/
>
|
|
|
 |
|

|
|
|
|