Eros
|
| Posted: 01/27/2003, 2:21 AM |
|
I wonder if Path component can be used to track current web site position using address parsing.
For example, if current path is: http://www.yoursite.com/Articles/Computers/Article.asp?ID=1
Path Component can create a path like:
Home -> Articles -> Computers
Thanks
|
|
|
 |
folkerts
|
| Posted: 01/27/2003, 2:41 AM |
|
Yes it can but i don't know if my solution is a nice one?
you could take every possible path (until dot asp) into a database table and the position of this page to your webroot (with parentid and childid relationship). You could make a new page with the path component and search the childid of your current path in your database by using a server var (i dont know how this one is called in asp) in the on open event. Knowing youre childid you can now initalize your path component. U can now include this page to all your pages where u want this path compontent.
hope it help
folkerts
|
|
|
 |
Eros
|
| Posted: 01/27/2003, 3:26 AM |
|
Thanks for the reply, Folkerts.
I thought about that and another way can be to create a function that parse the URL and create a Path on the fly.
I was just wondering if Yes has something in mind on that.
Thanks again.
|
|
|
 |
|