Ask a Question related to Macromedia ColdFusion, Design and Development.
-
ohioguy_tim #1
Help with HTTP.REFERER or something like it
I have a main web site and many sub web sites under the main web site. You
don't have to be logged in to access the main web site but you do have to be
logged in to access the features of the sub webs. The puprose of the main site
is to help users navigate to the sub webs features. Like each sub web has its
own guestbook. Users get to each guestbook from the main web site. I use
Application.cfm to maintain state and login.cfm and login2.cfm to log users in
for the sub web sites and these files reside in the main web site directory.
When a user wants to go to the guestbook in subweb1 they click on a link to
subweb1/guestbook.cfm. If there not logged in, Application.cfm runs login.cfm
and login2.cfm. When login2.cfm is done it does not know where to go. Link to
subweb1/guestbook.cfm got losted while Application.cfm. login.cfm and
login2.cfm were running. I have run a test and watched cgi.http_referer and it
is blank while Application.cfm runs login.cfm and login2.cfm. How can I
capture the link subweb1/guestbook.cfm before Application.cfm runs login.cfm
and login2.cfm run. Then I could tell login2.cfm to jump to
subweb1/guestbook.cfm with cflocation.
I have thought about setting a session variable with the link but would have
to do this in about a million different places. Would work but would be a
programming nightmare. Does anyone have any ideas?
ohioguy_tim Guest
-
flash and cgi.referer
I'm trying to create a flash anti-leech method, whereby my flash movie calls a ..cfm module that compares the cgi.host and cgi.referer variables. ... -
url referer
Hi, Is there anyway you can use coldfusion to get the full url of a webpage? #cgi.HTTP_REFERER# works but only if a link is actually clicked... -
Ma Referer length
All, I have a question about the Max Referer length. By default this is 256 I am not fully sure I understand this property. It this a header that... -
referer problem
xdblade@zworg.com (Xeon) wrote: There is no way to reliably determine that, and even browsers which supply that information may be set to prevent... -
How to Spoof Referer URL
you mean like? (this is some old beta1 code i wrote years ago, don't know if all the classes are still named appropriately, as I haven't used it... -
Greg M #2
Re: Help with HTTP.REFERER or something like it
The best way would be to send the return information along with the original
URL or inside a form.
I wouldn't rely on referrer, it's not standard, and is blocked by some
antispam/antispyware/security programs (Nortons Internet Security comes to
mind).
"ohioguy_tim" <webforumsuser@macromedia.com> wrote in message
news:d9h98v$sok$1@forums.macromedia.com...>I have a main web site and many sub web sites under the main web site. You
> don't have to be logged in to access the main web site but you do have to
> be
> logged in to access the features of the sub webs. The puprose of the main
> site
> is to help users navigate to the sub webs features. Like each sub web has
> its
> own guestbook. Users get to each guestbook from the main web site. I use
> Application.cfm to maintain state and login.cfm and login2.cfm to log
> users in
> for the sub web sites and these files reside in the main web site
> directory.
> When a user wants to go to the guestbook in subweb1 they click on a link
> to
> subweb1/guestbook.cfm. If there not logged in, Application.cfm runs
> login.cfm
> and login2.cfm. When login2.cfm is done it does not know where to go. Link
> to
> subweb1/guestbook.cfm got losted while Application.cfm. login.cfm and
> login2.cfm were running. I have run a test and watched cgi.http_referer
> and it
> is blank while Application.cfm runs login.cfm and login2.cfm. How can I
> capture the link subweb1/guestbook.cfm before Application.cfm runs
> login.cfm
> and login2.cfm run. Then I could tell login2.cfm to jump to
> subweb1/guestbook.cfm with cflocation.
>
> I have thought about setting a session variable with the link but would
> have
> to do this in about a million different places. Would work but would be a
> programming nightmare. Does anyone have any ideas?
>
Greg M Guest



Reply With Quote

