|
 |
asp_web_howto thread: Page Title Display
Message #1 by "kostas lagos" <nkia@i...> on Mon, 16 Dec 2002 10:43:01
|
|
Hello everyone,
I'm facing a problem that i dont even know how to handle,
I have to display the titles from each page that a user visits via links,
that is if a user clicks to a "someLink" link from the home page, when the
corresponding page opens the user must see home page->current page's
title..If he also clicks again on another link then home page->previous
page's title->current page's title
I hope the above example clear things up about what Im asking for
If anyone has any tip,clue,relative info or has already solved a similar
problem please let me know
Thank you very much and Merry Merry Christmas!
Kostas Lagos
Message #2 by "Scott Heath" <scott@s...> on Mon, 16 Dec 2002 07:40:57 -0600
|
|
Try using HTTP_referrer and cookies or session. I think sessions would
be easier since you don't have to rely on the client as much.
Do something like:
Get referrer
If referrer is empty then
SessionPath = referrer
Else
SessionPath = SessionPath & "->" & referrer
End If
Then in the title of your html page do <title> <%=sessionpath%></title>
I'll try to work something up when I get to work in an hour and mail it
to you since I'm currently not doing anything at work but looking for a
new job.
-----Original Message-----
From: kostas lagos [mailto:nkia@i...]
Sent: Monday, December 16, 2002 10:43 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Page Title Display
Hello everyone,
I'm facing a problem that i dont even know how to handle,
I have to display the titles from each page that a user visits via
links,
that is if a user clicks to a "someLink" link from the home page, when
the
corresponding page opens the user must see home page->current page's
title..If he also clicks again on another link then home page->previous
page's title->current page's title
I hope the above example clear things up about what Im asking for
If anyone has any tip,clue,relative info or has already solved a similar
problem please let me know
Thank you very much and Merry Merry Christmas!
Kostas Lagos
Message #3 by "Scott Heath" <scott@s...> on Mon, 16 Dec 2002 10:09:21 -0600
|
|
Kostas,
Here is some code that may get you started. It's REALLY dirty code since
I threw it together in about 30 minutes and it doesn't work right and I
don't have the time to work out the bugs.
Scott
-----Original Message-----
From: kostas lagos [mailto:nkia@i...]
Sent: Monday, December 16, 2002 10:43 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Page Title Display
Hello everyone,
I'm facing a problem that i dont even know how to handle,
I have to display the titles from each page that a user visits via
links,
that is if a user clicks to a "someLink" link from the home page, when
the
corresponding page opens the user must see home page->current page's
title..If he also clicks again on another link then home page->previous
page's title->current page's title
I hope the above example clear things up about what Im asking for
If anyone has any tip,clue,relative info or has already solved a similar
problem please let me know
Thank you very much and Merry Merry Christmas!
Kostas Lagos
Message #4 by "kosla78" <nkia@i...> on Tue, 17 Dec 2002 08:40:13 +0200
|
|
Hello Scott
Thank you very much for your immediate answer..
Just one thing ..Please try resending the code because i didnt receive any
code snippet..
Again, thank you very much
Kostas Lagos
----- Original Message -----
From: "Scott Heath" <scott@s...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, December 16, 2002 6:09 PM
Subject: [asp_web_howto] RE: Page Title Display
> Kostas,
> Here is some code that may get you started. It's REALLY dirty code since
> I threw it together in about 30 minutes and it doesn't work right and I
> don't have the time to work out the bugs.
> Scott
>
>
> -----Original Message-----
> From: kostas lagos [mailto:nkia@i...]
> Sent: Monday, December 16, 2002 10:43 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] Page Title Display
>
> Hello everyone,
>
> I'm facing a problem that i dont even know how to handle,
>
> I have to display the titles from each page that a user visits via
> links,
> that is if a user clicks to a "someLink" link from the home page, when
> the
> corresponding page opens the user must see home page->current page's
> title..If he also clicks again on another link then home page->previous
> page's title->current page's title
>
> I hope the above example clear things up about what Im asking for
>
> If anyone has any tip,clue,relative info or has already solved a similar
>
> problem please let me know
>
> Thank you very much and Merry Merry Christmas!
>
> Kostas Lagos
>
>
>
Message #5 by "Scott Heath" <scott@s...> on Tue, 17 Dec 2002 13:42:01 -0600
|
|
Sorry about that. It's a text file now
-----Original Message-----
From: kosla78 [mailto:nkia@i...]
Sent: Tuesday, December 17, 2002 12:40 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Page Title Display
Hello Scott
Thank you very much for your immediate answer..
Just one thing ..Please try resending the code because i didnt receive
any
code snippet..
Again, thank you very much
Kostas Lagos
----- Original Message -----
From: "Scott Heath" <scott@s...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, December 16, 2002 6:09 PM
Subject: [asp_web_howto] RE: Page Title Display
> Kostas,
> Here is some code that may get you started. It's REALLY dirty code
since
> I threw it together in about 30 minutes and it doesn't work right and
I
> don't have the time to work out the bugs.
> Scott
>
>
> -----Original Message-----
> From: kostas lagos [mailto:nkia@i...]
> Sent: Monday, December 16, 2002 10:43 AM
> To: ASP Web HowTo
> Subject: [asp_web_howto] Page Title Display
>
> Hello everyone,
>
> I'm facing a problem that i dont even know how to handle,
>
> I have to display the titles from each page that a user visits via
> links,
> that is if a user clicks to a "someLink" link from the home page, when
> the
> corresponding page opens the user must see home page->current page's
> title..If he also clicks again on another link then home
page->previous
> page's title->current page's title
>
> I hope the above example clear things up about what Im asking for
>
> If anyone has any tip,clue,relative info or has already solved a
similar
>
> problem please let me know
>
> Thank you very much and Merry Merry Christmas!
>
> Kostas Lagos
>
>
>
|
|
 |