Would this be tacky?

2007-07-03 Thread Will Tomlinson
I have 3-4 pages that handle some processes of adding data to the db. 
I need to be able to keep track of a referring page, so once the user is 
finished with this process, they'll be routed back to their starting point. 

At first, I started creating URL variables, passing them from one page to 
another, I guess liek a football. But it's a bit tedious and prone to mistakes, 
as some of these pages have OTHER referring pages. 

I'm thinking about creating a SESSIOn variable to handle it. The user clicks 
the link to handle the processes, I set the session variable to the start page. 
When the user is finished, I check to see if that session var exists. if it 
does, send them back to the starting point. 

Is there a better way to handle it?

Thanks,
Will

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282804
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Would this be tacky?

2007-07-03 Thread Josh Nathanson
 I'm thinking about creating a SESSIOn variable to handle it. The user 
 clicks the link to handle the processes, I set the session variable to 
 the start page. When the user is finished, I check to see if that session 
 var exists. if it does, send them back to the starting point.

This is exactly the kind of thing that session variables are best used for. 
To save you from having to pass everything via form or url, when doing a 
multi-page implementation.  I say go for it!

-- Josh 


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282810
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Would this be tacky?

2007-07-03 Thread Alan Rother
I agree,

Don't be afraid of sesion vars. I have apps that drop huge structs and
arrays into each users session.

This is the way to go.

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282817
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Would this be tacky?

2007-07-03 Thread Will Tomlinson
Thanks guys! It's done.  :)

Will

~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282819
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Would this be tacky?

2007-07-03 Thread Christopher Jordan
How about using CGI.HTTP_REFERRER?

Will Tomlinson wrote:
 Thanks guys! It's done.  :)

 Will

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282821
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Would this be tacky?

2007-07-03 Thread Doug Bezona
On 7/3/07, Christopher Jordan [EMAIL PROTECTED] wrote:

 How about using CGI.HTTP_REFERRER?


This is getting to be less and less useful. Many of the internet security
software packages (Norton, ZoneAlarm, etc.) scrub the referrer info from the
user's http request as part of the privacy features.


~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282825
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Would this be tacky?

2007-07-03 Thread Christopher Jordan
Yeah, but isn't this guy talking about needing the referring page on a 
system that he controls? My understanding was that he needed the 
referrer from page to page *within his own app*.

Chris

Doug Bezona wrote:
 On 7/3/07, Christopher Jordan [EMAIL PROTECTED] wrote:
   
 How about using CGI.HTTP_REFERRER?
 


 This is getting to be less and less useful. Many of the internet security
 software packages (Norton, ZoneAlarm, etc.) scrub the referrer info from the
 user's http request as part of the privacy features.


 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282829
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Would this be tacky?

2007-07-03 Thread Alan Rother
Will is talking about making the value persist across multiple page
loads. The cg.http_referer would be incorrect at the final processing
point.

He needs to lock in a value as soon as the user starts a multi step process.

On 7/3/07, Christopher Jordan [EMAIL PROTECTED] wrote:
 Yeah, but isn't this guy talking about needing the referring page on a
 system that he controls? My understanding was that he needed the
 referrer from page to page *within his own app*.

 Chris

 Doug Bezona wrote:
  On 7/3/07, Christopher Jordan [EMAIL PROTECTED] wrote:
 
  How about using CGI.HTTP_REFERRER?
 
 
 
  This is getting to be less and less useful. Many of the internet security
  software packages (Norton, ZoneAlarm, etc.) scrub the referrer info from the
  user's http request as part of the privacy features.
 
 
 

 

~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282834
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Would this be tacky?

2007-07-03 Thread Josh Nathanson
 Yeah, but isn't this guy talking about needing the referring page on a
 system that he controls? My understanding was that he needed the
 referrer from page to page *within his own app*.

I don't know if that would work for him anyway though...he wants to hold an 
originating page in memory over a few subsequent page requests, then be 
able to go back to that originating page.  My understanding is that 
cgi.http_referrer only holds a single referring page.

-- Josh 


~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282836
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Would this be tacky?

2007-07-03 Thread Doug Bezona
But the referrer is supplied by the browser, so he has no control at all
whether that information will be available. If he knows for sure none of his
users have any software that might strip the information, he would be fine,
but beyond that, it's just not reliable.

On 7/3/07, Christopher Jordan [EMAIL PROTECTED] wrote:

 Yeah, but isn't this guy talking about needing the referring page on a
 system that he controls? My understanding was that he needed the
 referrer from page to page *within his own app*.

 Chris

 Doug Bezona wrote:
  On 7/3/07, Christopher Jordan [EMAIL PROTECTED] wrote:
 
  How about using CGI.HTTP_REFERRER?
 
 
 
  This is getting to be less and less useful. Many of the internet
 security
  software packages (Norton, ZoneAlarm, etc.) scrub the referrer info from
 the
  user's http request as part of the privacy features.
 
 
 

 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282838
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Would this be tacky?

2007-07-03 Thread Will Tomlinson
Yeah, the CGI.http_referer doesn't quite work like I need. 

I just ended up storing the originating page in SESSION, so it's readily 
available to any template that's involved in this process.

Seems to work fine so far. 

Thanks,
Will

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282847
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Would this be tacky?

2007-07-03 Thread Christopher Jordan
Oh, I see. I didn't realize that's what you wanted. Oh well. Sorry.

Chris

Will Tomlinson wrote:
 Yeah, the CGI.http_referer doesn't quite work like I need. 

 I just ended up storing the originating page in SESSION, so it's readily 
 available to any template that's involved in this process.

 Seems to work fine so far. 

 Thanks,
 Will

 

~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282850
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4