Bubba
Posts: 33
|
| Posted: 06/06/2005, 11:34 PM |
|
Hi,
for some reason a simple procedure as in creating as Logout link just wont work.
On a page (that also has a Login form) I have created a (form) link. If I use the extended HTML tags: <!-- BEGIN Link Logout --><a href="{Logout_Src}">LOGOUT</a><!-- END Link Logout -->
The link will not appear on the page (web server). If I remove the extended HTML:
a href="{Logout_Src}">LOGOUT</a>
The link shows up, however I cannot manipulate it (i.e: make it appear/disappear based on login session etc.)
To make matters even more confusing, I created a clean blank page, inserted the above mentioned link and all worked fine.
So why it will not work on my main page I do not know why???
Any advice is greatly appreciated.
PS. CodeCharge Studio 2.2.2.4; ASP; WIN2k; IE6
|
 |
 |
peterr
Posts: 5971
|
| Posted: 06/06/2005, 11:45 PM |
|
Not sure why this doesn't work but another way to go about it would be to change "LOGOUT" back to "{Logout}" and then dynamically assign the word "LOGOUT" as its value when needed, otherwise the link will be hidden when its value is blank.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Bubba
Posts: 33
|
| Posted: 06/09/2005, 6:39 PM |
|
Thanks for the quick reply Peter.
It appears the problem was with the ASP page. Every time I inserted a form control, no code was being automatically added to the ASP page (eg: under “Controls”).
Thus no controls or included pages would work as the page did not know they were there.
I ended up trashing this page and started the whole thing from scratch and it all works fine now.
|
 |
 |
|