Forum Moderators: phranque

Message Too Old, No Replies

reading after the "#" with coldfusion?

         

the_nerd

9:25 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've been trying to get the full url-string from coldfusion server (like [abc.def...]
INCLUDING the stuff after the number-sign.

All the cgi-Variables I tried stop just before the "#". Could the rest be hidden from the server, i.e. IIS strips this off before sending the url to CF Server?

Should you who knows the answer be in London soon, be sure to claim your pint :)

waitman

2:30 pm on Aug 13, 2003 (gmt 0)

10+ Year Member



Hello

Somebody please correct me if I am wrong -

The browser won't send the # and anything after the # to the server, so you have no way of knowing.

Perhaps you could use something like index.cfm?3030020, read the uri and redirect the user to index.cfm#3030020 to bump them down the page a bit.

Take care,

the_nerd

8:29 pm on Aug 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks, waitman.

The reason I want to do this is: I have a couple of dealers linking to my portal - but they use links with 2 parameters so far - so the links are pretty useless G-wise.

My first idea was to store the dealer's URL in my database and compare with the "http_referer". So they could use a "clean" link like "www.mydomain.com" and I show the dealer-info accordingly.

Problem is: Personal firewalls strip out the http_referer, so I cannot use it.

Next idea was to use a link like www.mydomain.com#123455. G wouldn't read the stuff after the "#", so I have a useful link. All I want is my legitimate backlink to count in G. (other SE's show the backlinks, but unfortunately bring no traffic)

Ralf.

waitman

9:01 pm on Aug 13, 2003 (gmt 0)

10+ Year Member



hmmmm, you don't want ugly cgi parameters.

options:

create a bunch of subdomains (free)

[affy1.freakinexample.com...]
[affy2.freakinexample.com...]
...

buch a bunch of different domains (cost a little bit)

[freakinexample1.com...]
[freakenexample2.com...]
...

use one parameter? (free)

[freakinexample.com?23423...]

do a mod_rewrite

[freakinexample.com...] (free)

you could maybe have them put an image on their page and track incoming visitors that way?

just some idears,

the_nerd

7:44 am on Aug 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



thanks for your help -

I'll try your last idea and generate a unique template for every dealer - that will even save me database time, because the page will be updated only once a day.

No that I'm writing about those pages: after reading a lot about G's dislike of URL-Parameters I reworte my whole website. Instead of "...help.cfm?topic=1" I made it "..help1.htm"

Now what happened? They gave my pagerank 0 for the static pages. But the old pages are still in the index, having kept their PR 4 - although I don't link to them anymore. Probably it's the duplicate "watchdog"?

cu Ralf.

waitman

2:08 pm on Aug 14, 2003 (gmt 0)

10+ Year Member



hmmm.

please explain "PR 4". i have seen reference to this elsewhere.

also please explain "watchdog".

of course, if you redo your site i would imagine that there would be a dip in traffic for a bit, but have faith that it will come back up!

take care,

the_nerd

9:02 am on Aug 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



PRn (n = 0 ..10) : Google Pagerank

"watchdog" is my creation. Google checks if you want to cut corners and show duclicate content on different pages.

MonkeeSage

9:34 am on Aug 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ps. The reason why anything after the "#" will never be sent to the server is because "#<id/name>" is the URI operator that makes the browser scroll to the element with corresponding id / name attribute.

If the CF server can understand encoded URIs you can try using %23 instead, e.g., [abc.def...]

I have no idea if it understands encoded URIs or not though.

Jordan