Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Retrieving Page Name in ASP?

Explorer ,
Aug 25, 2006 Aug 25, 2006
Hi,

Im currently building a small feature on my clients website which enables users to send any page to a friend. This is done using a text link that submits a form that calls the server variable 'url'. Now this part works fine but when i send the email i would like people to see the page name and not the actual url of the page.

Is there any way to retrieve the title tag in a document and put that into a hidden field ?

Thanks in advance, Adam
TOPICS
Server side applications
286
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 25, 2006 Aug 25, 2006
LATEST
Yes, use a regex string to search for the <title></title> tags.

"muzicmistro" <webforumsuser@macromedia.com> wrote in message
news:ecmoid$6sj$1@forums.macromedia.com...
> Hi,
>
> Im currently building a small feature on my clients website which enables
> users to send any page to a friend. This is done using a text link that
> submits
> a form that calls the server variable 'url'. Now this part works fine but
> when
> i send the email i would like people to see the page name and not the
> actual
> url of the page.
>
> Is there any way to retrieve the title tag in a document and put that into
> a
> hidden field ?
>
> Thanks in advance, Adam
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines