RE: CF Cookie ASP Cookie?
Thanks Brian, But I am still having problems figuring this out... I would things that if ASP could store complex data types in a Cookie then shouldn't CF be able to also. It seems more like an array of data that I need to store as a cookie. I am not a Cookie Master unless we are talking about Nestlé so could someone give me an example of inserting multiple names and variables in a cookie? The data that is being inserted into the cookie is coming from our DB and its just simple login info for when they enter our Portal site. Since our site has to continue using some of the ASP and .Net pages we need a way of using the Cookies to maintain their Login Abilities and a few other details. So my main problem is getting CF to write the Cookie the same way as ASP and ..Net did so they can all share the info without having to change all of or asp pages. Well I hope all this makes sense. I have been looking everywhere on the net that could help me figure this out... but have had no luck. Maybe it just cant be done. AS for converting to a WDDX packet... I have no idea how to do that... maybe this is the way. Could anyone give an example? Thank again for all the help. Neal Bailey Internet Marketing Manager ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219441 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Cookie ASP Cookie?
A cookie can only store a string. So to store multiple values you need to store some kind of delineated string. myvar=1,yourVar=2,joesVar=3 Using this method you can store as much data is you can fit into the current limit on the size of a cookie. It is up to you to create and parse the sting. This is where the wddx tag can help. It will parse complex data structures into an XML based string that can be stored into a cookie and then reverse the wddx packet back into a variable structure. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219444 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Cookie ASP Cookie?
Neal: ASP supports something it calls a Cookie Dictionaries. This is, essentially an associative array (or structure) of values all referenced by the same variable name. So, just like with ColdFusion structures you can do something like: myStructure.myKey in ASP, you can do something like: Response.Cookies(myStructure)(myKey) In order to support this, ASP creates a cookie named myStructure (or whatever you specify as the name) and sets the cookie value to something like: key1=value1key2=value2 So, to duplicate your ASP code in ColdFusion, you'll need code like the following: CFSET Value = CFSET Value = Value AgentNumber=#AgentNumber# CFSET Value = Value AgentName=#AgentFirst# #AgentLast# CFSET Value = Value Rank=#CurrentRank# CFSET Value = Value EntityID=#EntityID# CFCOOKIE NAME=RSHold VALUE=#Value# PATH=/ EXPIRES=Never Note that when you retrieve this Cookie via CF, you'll have to parse the string and break it up into its original pieces. You could use code like the following: CFSET RSHold = StructNew() CFLOOP LIST=#COOKIE.RSHold# DELIMITERS= INDEX=Ele CFSET Key = ListGetAt(Ele, 1, =) CFSET Value = ListGetAt(Ele, 2, =) CFSET RSHold[Key] = Value /CFLOOP And then access each piece via code like: RSHold[AgentNumber] Note, none of this code is tested so there might be some minor issues. But the logic should be pretty sound. HTH -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Bailey, Neal [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 5:43 PM To: CF-Talk Subject: CF Cookie ASP Cookie? Hey Guys I have been searching everywhere on this and I can't seem to figure this out. I am only familiar with using CF Cookies in the standard way but I have this asp site that I am having to port over to CF and I need to write cookies in CF much the same way we did using ASP. But it seems that with ASP you can give the Cookie a general name to refer to it by. But I am having a hard time figuring this out in CF or if it's even possible. Here is an example of our ASP Cookie... Response.Cookies(RSHold)(AgentNumber) = RSAgent(AgentNumber) Response.Cookies(RSHold)(AgentName) = RTrim(RSAgent(AgentFirst))+ + RTrim(RSAgent(AgentLast)) Response.Cookies(RSHold)(Rank) = RSAgent(CurrentRank) Response.Cookies(RSHold)(EntityID) = RSAgent(EntityID) Response.Cookies(RSHold).Path=/ I need to build this same Cookie using CF but cant figure it out. Am I missing something? This is what I have so far for CF but it's not the same... cfcookie name=AgentNumber value=#AgentNumber# expires=now path=/ cfcookie name=AgentName value=#AgentFirst# #AgentLast# expires=now path=/ cfcookie name=Rank value=#CurrentRank# expires=#EntityID# path=/ Any help on this would be grateful thanks. Neal Bailey Internet Marketing Manager ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219451 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Cookie ASP Cookie?
OK guys... I think I have my Cookie kind of figured out now... It seems ASP does not actually store the cookie as complex variables but instead it's more of a comma delimited format using as the delimiter. Anyway now that I figure out that problem I have another... I am storing the values in the cookie like this: - cfset Cookie_Value = NeedUpdate=0Recognition=SupportEntityID=09AgentName=Neal+Bailey Region=Rank=80AgentNumber=%40%4009+ cfcookie name=Rsagent2 value=#Cookie_Value# -- But when I look at the cookie value it looks like this: -- NeedUpdate%3D0%26Recognition%3DSupport%26EntityID%3D09%26AgentName%3 DNeal%2BBailey%26Region%3D%26Rank%3D80%26AgentNumber%3D%2540%254009%2B -- For some reason its converting the =,,+ and % characters to another format. Any idea how I can fix this? Man what a mess... Thanks again.. Neal Bailey Internet Marketing Manager -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 10:46 AM To: CF-Talk Subject: RE: CF Cookie ASP Cookie? Neal: ASP supports something it calls a Cookie Dictionaries. This is, essentially an associative array (or structure) of values all referenced by the same variable name. So, just like with ColdFusion structures you can do something like: myStructure.myKey in ASP, you can do something like: Response.Cookies(myStructure)(myKey) In order to support this, ASP creates a cookie named myStructure (or whatever you specify as the name) and sets the cookie value to something like: key1=value1key2=value2 So, to duplicate your ASP code in ColdFusion, you'll need code like the following: CFSET Value = CFSET Value = Value AgentNumber=#AgentNumber# CFSET Value = Value AgentName=#AgentFirst# #AgentLast# CFSET Value = Value Rank=#CurrentRank# CFSET Value = Value EntityID=#EntityID# CFCOOKIE NAME=RSHold VALUE=#Value# PATH=/ EXPIRES=Never Note that when you retrieve this Cookie via CF, you'll have to parse the string and break it up into its original pieces. You could use code like the following: CFSET RSHold = StructNew() CFLOOP LIST=#COOKIE.RSHold# DELIMITERS= INDEX=Ele CFSET Key = ListGetAt(Ele, 1, =) CFSET Value = ListGetAt(Ele, 2, =) CFSET RSHold[Key] = Value /CFLOOP And then access each piece via code like: RSHold[AgentNumber] Note, none of this code is tested so there might be some minor issues. But the logic should be pretty sound. HTH -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Bailey, Neal [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 5:43 PM To: CF-Talk Subject: CF Cookie ASP Cookie? Hey Guys I have been searching everywhere on this and I can't seem to figure this out. I am only familiar with using CF Cookies in the standard way but I have this asp site that I am having to port over to CF and I need to write cookies in CF much the same way we did using ASP. But it seems that with ASP you can give the Cookie a general name to refer to it by. But I am having a hard time figuring this out in CF or if it's even possible. Here is an example of our ASP Cookie... Response.Cookies(RSHold)(AgentNumber) = RSAgent(AgentNumber) Response.Cookies(RSHold)(AgentName) = RTrim(RSAgent(AgentFirst))+ + RTrim(RSAgent(AgentLast)) Response.Cookies(RSHold)(Rank) = RSAgent(CurrentRank) Response.Cookies(RSHold)(EntityID) = RSAgent(EntityID) Response.Cookies(RSHold).Path=/ I need to build this same Cookie using CF but cant figure it out. Am I missing something? This is what I have so far for CF but it's not the same... cfcookie name=AgentNumber value=#AgentNumber# expires=now path=/ cfcookie name=AgentName value=#AgentFirst# #AgentLast# expires=now path=/ cfcookie name=Rank value=#CurrentRank# expires=#EntityID# path=/ Any help on this would be grateful thanks. Neal Bailey Internet Marketing Manager ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219470 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Recall: CF Cookie ASP Cookie?
Bailey, Neal would like to recall the message, CF Cookie ASP Cookie?. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219472 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Cookie ASP Cookie?
OK guys... I think I have my Cookie kind of figured out now... It seems ASP does not actually store the cookie as complex variables but instead it's more of a comma delimited format using as the delimiter. Anyway now that I figure out that problem I have another... I am storing the values in the cookie like this: - cfset Cookie_Value = NeedUpdate=0Recognition=SupportEntityID=09AgentName=Neal+Bailey Region=Rank=80AgentNumber=%40%4009+ cfcookie name=Rsagent2 value=#Cookie_Value# -- But when I look at the cookie value it looks like this: -- NeedUpdate%3D0%26Recognition%3DSupport%26EntityID%3D09%26AgentName%3 DNeal%2BBailey%26Region%3D%26Rank%3D80%26AgentNumber%3D%2540%254009%2B -- For some reason its converting the =,,+ and % characters to another format. Any idea how I can fix this? Man what a mess... Thanks again.. Neal Bailey Internet Marketing Manager ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219473 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Cookie ASP Cookie?
-- NeedUpdate%3D0%26Recognition%3DSupport%26EntityID%3D09%26AgentName%3 DNeal%2BBailey%26Region%3D%26Rank%3D80%26AgentNumber%3D%2540%254009%2B -- That's just the value which gets encoded for URL travel (just like URLs dosame applies to cookies). There should be no need to stop it because when you do access the value, the encoding shold be decoded automatically. If not I beleive there is URLDecode() you can use. HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Bailey, Neal [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, September 28, 2005 10:24 AM Subject: RE: CF Cookie ASP Cookie? OK guys... I think I have my Cookie kind of figured out now... It seems ASP does not actually store the cookie as complex variables but instead it's more of a comma delimited format using as the delimiter. Anyway now that I figure out that problem I have another... I am storing the values in the cookie like this: - cfset Cookie_Value = NeedUpdate=0Recognition=SupportEntityID=09AgentName=Neal+Bailey Region=Rank=80AgentNumber=%40%4009+ cfcookie name=Rsagent2 value=#Cookie_Value# -- But when I look at the cookie value it looks like this: -- NeedUpdate%3D0%26Recognition%3DSupport%26EntityID%3D09%26AgentName%3 DNeal%2BBailey%26Region%3D%26Rank%3D80%26AgentNumber%3D%2540%254009%2B -- For some reason its converting the =,,+ and % characters to another format. Any idea how I can fix this? Man what a mess... Thanks again.. Neal Bailey Internet Marketing Manager -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 10:46 AM To: CF-Talk Subject: RE: CF Cookie ASP Cookie? Neal: ASP supports something it calls a Cookie Dictionaries. This is, essentially an associative array (or structure) of values all referenced by the same variable name. So, just like with ColdFusion structures you can do something like: myStructure.myKey in ASP, you can do something like: Response.Cookies(myStructure)(myKey) In order to support this, ASP creates a cookie named myStructure (or whatever you specify as the name) and sets the cookie value to something like: key1=value1key2=value2 So, to duplicate your ASP code in ColdFusion, you'll need code like the following: CFSET Value = CFSET Value = Value AgentNumber=#AgentNumber# CFSET Value = Value AgentName=#AgentFirst# #AgentLast# CFSET Value = Value Rank=#CurrentRank# CFSET Value = Value EntityID=#EntityID# CFCOOKIE NAME=RSHold VALUE=#Value# PATH=/ EXPIRES=Never Note that when you retrieve this Cookie via CF, you'll have to parse the string and break it up into its original pieces. You could use code like the following: CFSET RSHold = StructNew() CFLOOP LIST=#COOKIE.RSHold# DELIMITERS= INDEX=Ele CFSET Key = ListGetAt(Ele, 1, =) CFSET Value = ListGetAt(Ele, 2, =) CFSET RSHold[Key] = Value /CFLOOP And then access each piece via code like: RSHold[AgentNumber] Note, none of this code is tested so there might be some minor issues. But the logic should be pretty sound. HTH -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Bailey, Neal [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 5:43 PM To: CF-Talk Subject: CF Cookie ASP Cookie? Hey Guys I have been searching everywhere on this and I can't seem to figure this out. I am only familiar with using CF Cookies in the standard way but I have this asp site that I am having to port over to CF and I need to write cookies in CF much the same way we did using ASP. But it seems that with ASP you can give the Cookie a general name to refer to it by. But I am having a hard time figuring this out in CF or if it's even possible. Here is an example of our ASP Cookie... Response.Cookies(RSHold)(AgentNumber) = RSAgent(AgentNumber) Response.Cookies(RSHold)(AgentName) = RTrim(RSAgent(AgentFirst))+ + RTrim(RSAgent(AgentLast)) Response.Cookies(RSHold)(Rank) = RSAgent(CurrentRank) Response.Cookies(RSHold)(EntityID) = RSAgent(EntityID) Response.Cookies(RSHold).Path=/ I need to build this same Cookie using CF but cant figure it out. Am I missing something? This is what I have so far for CF but it's not the same... cfcookie name=AgentNumber value=#AgentNumber# expires=now path=/ cfcookie name=AgentName value=#AgentFirst# #AgentLast# expires=now path=/ cfcookie name=Rank value=#CurrentRank# expires=#EntityID# path=/ Any help on this would be grateful thanks. Neal Bailey
Re: Recall: CF Cookie ASP Cookie?
LOL...too late ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Bailey, Neal [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, September 28, 2005 10:30 AM Subject: Recall: CF Cookie ASP Cookie? Bailey, Neal would like to recall the message, CF Cookie ASP Cookie?. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219475 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Cookie ASP Cookie?
Oh yeah...and when you say look at the cookie value I assume you have actually opened the cookie file?? Try cfdump var=#COOKIE.Rsagent2# and see if all the encoding goes away ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219476 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Cookie ASP Cookie?
Yeah I recalled the file because it said it was too long... was not sure what to do. Anyway... yes I know it gets decoded correctly if I dump it using CFDump... But I need ASP and .Net to be able to read this same cookie. The problem is that ASP when inserting the Cookie does not encode the URl string like CF does. So when ASP tries to read the Cookie it gets all confused because it's looking for the as the delimiter but instead gets hung up on all the encoded values. Hope this makes sense... I was hoping I could find a UDF or some how have it not encode the string when save to the cookie. Neal Bailey Internet Marketing Manager -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 12:34 PM To: CF-Talk Subject: Re: CF Cookie ASP Cookie? Oh yeah...and when you say look at the cookie value I assume you have actually opened the cookie file?? Try cfdump var=#COOKIE.Rsagent2# and see if all the encoding goes away ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219479 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Cookie ASP Cookie?
So look on the ASP side for a function to decode the cookie value ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219480 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF Cookie ASP Cookie?
Yeah I wish that was an option... but it would require changing too many pages. Neal Bailey Internet Marketing Manager -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 1:04 PM To: CF-Talk Subject: Re: CF Cookie ASP Cookie? So look on the ASP side for a function to decode the cookie value ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219482 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CF Cookie ASP Cookie?
Hey Guys I have been searching everywhere on this and I can't seem to figure this out. I am only familiar with using CF Cookies in the standard way but I have this asp site that I am having to port over to CF and I need to write cookies in CF much the same way we did using ASP. But it seems that with ASP you can give the Cookie a general name to refer to it by. But I am having a hard time figuring this out in CF or if it's even possible. Here is an example of our ASP Cookie... Response.Cookies(RSHold)(AgentNumber) = RSAgent(AgentNumber) Response.Cookies(RSHold)(AgentName) = RTrim(RSAgent(AgentFirst))+ + RTrim(RSAgent(AgentLast)) Response.Cookies(RSHold)(Rank) = RSAgent(CurrentRank) Response.Cookies(RSHold)(EntityID) = RSAgent(EntityID) Response.Cookies(RSHold).Path=/ I need to build this same Cookie using CF but cant figure it out. Am I missing something? This is what I have so far for CF but it's not the same... cfcookie name=AgentNumber value=#AgentNumber# expires=now path=/ cfcookie name=AgentName value=#AgentFirst# #AgentLast# expires=now path=/ cfcookie name=Rank value=#CurrentRank# expires=#EntityID# path=/ Any help on this would be grateful thanks. Neal Bailey Internet Marketing Manager ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219379 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF Cookie ASP Cookie?
Not 100% what the ASP code is doingbut it looks like acookie named RSHold which conatins a structure with keys (agentNumber etc.) AFAIK you can't store complex datatypes in cookies (such as structures).so my interpretation of the ASP cookie code may very well be wrong If I am correct then your CF code is wrong as it's creating multiple cookies with names that match the strutcure keys (i.e. agentNumber etc.). The only way I have managed to store complex datatypes ina cookie in CF was to convert the strcuture or query into a WDDX packet and store that string in the cookie (requires deserealizing the cookie value when you need the values). HTH Perhaps knowing where the data is coming from in the ASP code would help (i.e. RSHold and RSAgent). Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219380 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
IIS/Index Server/CF and ASP
This is going to be broad, but is based on a CF problem I am having. I have an ASP search page which is referencing Index Server catalogs. It's a standard one I found and I believe is commonly used. I can provide the whole code if necessary. The Index Server appears to be cataloging both HTML and CFML pages correctly. The search results page returns both HTML and CFML appropriately. The problem is that CFM pages don't have the DOCTITLE information appearing. It is simply blank. This is information that would be contained within TITLE/TITLE. Here's the output code for searchresults.asp: Response.write a href= SERVER_URL oRS(vpath) class=mainquot; oRS(doctitle) quot;/abr I have confirmed that the CFM pages do indeed contain valid TITLE data. This is happening to all CFM pages and no HTM pages. Anyone have any insight? Thanks! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219000 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: IIS/Index Server/CF and ASP
I do not have any specific info for you, just a guess and direction to research. My guess is that whatever is doing the indexing (a filter of some sort) does not know that CFM files have a similar structure to .HTM files. You are probably going to need to add cfm files to the list of filetypes processed by the htm filter. I have no idea how. On 9/22/05, B G [EMAIL PROTECTED] wrote: This is going to be broad, but is based on a CF problem I am having. I have an ASP search page which is referencing Index Server catalogs. It's a standard one I found and I believe is commonly used. I can provide the whole code if necessary. The Index Server appears to be cataloging both HTML and CFML pages correctly. The search results page returns both HTML and CFML appropriately. The problem is that CFM pages don't have the DOCTITLE information appearing. It is simply blank. This is information that would be contained within TITLE/TITLE. Here's the output code for searchresults.asp: Response.write a href= SERVER_URL oRS(vpath) class=main oRS(doctitle) /abr I have confirmed that the CFM pages do indeed contain valid TITLE data. This is happening to all CFM pages and no HTM pages. Anyone have any insight? Thanks! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219002 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: IIS/Index Server/CF and ASP
I had thought something similiar. In fact, other colleagues have said pretty much the same thing. Two things about this strategy are unclear to me. 1) Index server IS cataloging CFM pages so even if I knew where there was such a list, adding it may or may not have an impact on the output. 2) When creating an index there are a very limited number of items to configure. Since you point it to a specific web site running on IIS I assume that IIS must be telling it to some degree that CFM pages are to be treated like HTM pages. Now I notice that MS Word Docs are also returned, but likewise have no DOCTITLE. So I think you're definitely pointing in the right direction to say Index Server doesn't recognize the same file structure as HTM so doesn't know how to populate DOCTITLE. I don't know enough about ASP, but there must be some way to say: cfparam name=DOCTITLE default=Document Untitled Any suggestions? From: Jerry Johnson [EMAIL PROTECTED] Reply-To: cf-talk@houseoffusion.com To: CF-Talk cf-talk@houseoffusion.com Subject: Re: IIS/Index Server/CF and ASP Date: Thu, 22 Sep 2005 15:35:42 -0400 I do not have any specific info for you, just a guess and direction to research. My guess is that whatever is doing the indexing (a filter of some sort) does not know that CFM files have a similar structure to .HTM files. You are probably going to need to add cfm files to the list of filetypes processed by the htm filter. I have no idea how. On 9/22/05, B G [EMAIL PROTECTED] wrote: This is going to be broad, but is based on a CF problem I am having. I have an ASP search page which is referencing Index Server catalogs. It's a standard one I found and I believe is commonly used. I can provide the whole code if necessary. The Index Server appears to be cataloging both HTML and CFML pages correctly. The search results page returns both HTML and CFML appropriately. The problem is that CFM pages don't have the DOCTITLE information appearing. It is simply blank. This is information that would be contained within TITLE/TITLE. Here's the output code for searchresults.asp: Response.write a href= SERVER_URL oRS(vpath) class=main oRS(doctitle) /abr I have confirmed that the CFM pages do indeed contain valid TITLE data. This is happening to all CFM pages and no HTM pages. Anyone have any insight? Thanks! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219013 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need to share encryption between CF and ASP environments
Personally, I don't think storing CC numbers are a good idea. You can encrypt/decrypt data in between envoirments if they use the same algorithm. Checkout CF documentations to see avaiable algorithms. Also, if it's possible by your functional needs (not on the CC case, probably), one-way encrypts (hashs) are more secure, since you encrypt the data and compare the encrypted data (like on a login system). Fabio Terracini Matthew Friedman wrote: We are trying to marry a CF application and an ASP application that will need to process credit cards. What we wish to do is to encrypt and store the CC number in only one of the environments, but both will need to be able to decrypt the information and process payments. we have a payment system all ready to go, but the question we are struggling with is there a way to share the an encrypted credit card that can be decrypted on both the ASP server and the CF server and processed. Any help would be great. Matthew Friedman ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216036 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need to share encryption between CF and ASP environments
Yeah, storing the CC numbers is a scary thing to do. You open yourselves up to a tremendous amount of liability. If you do decide to do it though, you might find or write an executable that will (en)(de)crypt your strings, then you could call it from .NET apps and CF apps as needed. This approach may allow you to be more selective in the algorithm you choose to use... Is your processing done real-time? What is it that necessitates the storing of CC nums in the first place? --Ferg Fabio Terracini wrote: Personally, I don't think storing CC numbers are a good idea. You can encrypt/decrypt data in between envoirments if they use the same algorithm. Checkout CF documentations to see avaiable algorithms. Also, if it's possible by your functional needs (not on the CC case, probably), one-way encrypts (hashs) are more secure, since you encrypt the data and compare the encrypted data (like on a login system). Fabio Terracini ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216039 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Need to share encryption between CF and ASP environments
CFMX 7 comes with a TON of new features in the encryption/decryption department, via the encrypt() and decrypt() functions: http://livedocs.macromedia.com/coldfusion/7/htmldocs/0457.htm encrypt() and decrypt() now support AES, DES, DESEDE and Blowfish algorithms, in addition to backwards-compatible CF-style encryption. It also supports multiple encoding formats. Hope this helps. Take Care, Seth - Original Message - From: Russ Michaels [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 22, 2005 8:42 PM Subject: RE: Need to share encryption between CF and ASP environments If you use the same encryption algorythum on both then yes. There are plenty of MD5, SHA, whatever encyption components out there, just download and use one of them. COM can be called form CF too.. Russ -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 02:38 To: CF-Talk Subject: Need to share encryption between CF and ASP environments We are trying to marry a CF application and an ASP application that will need to process credit cards. What we wish to do is to encrypt and store the CC number in only one of the environments, but both will need to be able to decrypt the information and process payments. we have a payment system all ready to go, but the question we are struggling with is there a way to share the an encrypted credit card that can be decrypted on both the ASP server and the CF server and processed. Any help would be great. Matthew Friedman ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216043 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Need to share encryption between CF and ASP environments
one-way encrypts (hashs) are more secure Not disagreeing, but just so you know, I downloaded a small exe yesterday that cracked an MD5 hash in 3.5 minutes, using my old 2Ghz workstation. -Original Message- From: Fabio Terracini [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 14:45 To: CF-Talk Subject: Re: Need to share encryption between CF and ASP environments Personally, I don't think storing CC numbers are a good idea. You can encrypt/decrypt data in between envoirments if they use the same algorithm. Checkout CF documentations to see avaiable algorithms. Also, if it's possible by your functional needs (not on the CC case, probably), one-way encrypts (hashs) are more secure, since you encrypt the data and compare the encrypted data (like on a login system). Fabio Terracini Matthew Friedman wrote: We are trying to marry a CF application and an ASP application that will need to process credit cards. What we wish to do is to encrypt and store the CC number in only one of the environments, but both will need to be able to decrypt the information and process payments. we have a payment system all ready to go, but the question we are struggling with is there a way to share the an encrypted credit card that can be decrypted on both the ASP server and the CF server and processed. Any help would be great. Matthew Friedman ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216050 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Need to share encryption between CF and ASP environments
We are trying to marry a CF application and an ASP application that will need to process credit cards. What we wish to do is to encrypt and store the CC number in only one of the environments, but both will need to be able to decrypt the information and process payments. we have a payment system all ready to go, but the question we are struggling with is there a way to share the an encrypted credit card that can be decrypted on both the ASP server and the CF server and processed. Any help would be great. Matthew Friedman ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216005 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Need to share encryption between CF and ASP environments
If you use the same encryption algorythum on both then yes. There are plenty of MD5, SHA, whatever encyption components out there, just download and use one of them. COM can be called form CF too.. Russ -Original Message- From: Matthew Friedman [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 02:38 To: CF-Talk Subject: Need to share encryption between CF and ASP environments We are trying to marry a CF application and an ASP application that will need to process credit cards. What we wish to do is to encrypt and store the CC number in only one of the environments, but both will need to be able to decrypt the information and process payments. we have a payment system all ready to go, but the question we are struggling with is there a way to share the an encrypted credit card that can be decrypted on both the ASP server and the CF server and processed. Any help would be great. Matthew Friedman ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216007 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Integrating CF with ASP/SSI code?
Hello everyone, here's the situation:I've inherited a site that is built with ASP, using a lot of SSIs for those parts of each page (top nav area, left nav area, etc) that are common to all pages.Most of the site is not dynamic, and the SSIs are just apparently used so that the common code is kept in one place.But the dynamic pages are in ASP, with SQL calls from the hosting service back to our SQL server in the office.What I want to do is to replace the ASP code with CF code so that I can build additional functionality into those pages.However, the presence of the SSI seems to get in the way of also using CF, since I don't see how to have a CFM file interact with the SSI files.I could (and probably will) over time replace the SSI files with CFM files that are CFINCLUDEd, but at the moment I need to get this work started, and am stumped.Any ideas on how to proceed? Thanks! -reed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Integrating CF with ASP/SSI code?
It would be quite easy to run a regular _expression_ search and replace to turn all your SSIs into cfincludes using a tool like HomeSite. Would that help? _ From: Reed Powell [mailto:[EMAIL PROTECTED] Sent: Thursday, 27 May 2004 12:16 p.m. To: CF-Talk Subject: Integrating CF with ASP/SSI code? Hello everyone, here's the situation:I've inherited a site that is built with ASP, using a lot of SSIs for those parts of each page (top nav area, left nav area, etc) that are common to all pages.Most of the site is not dynamic, and the SSIs are just apparently used so that the common code is kept in one place.But the dynamic pages are in ASP, with SQL calls from the hosting service back to our SQL server in the office.What I want to do is to replace the ASP code with CF code so that I can build additional functionality into those pages.However, the presence of the SSI seems to get in the way of also using CF, since I don't see how to have a CFM file interact with the SSI files.I could (and probably will) over time replace the SSI files with CFM files that are CFINCLUDEd, but at the moment I need to get this work started, and am stumped.Any ideas on how to proceed? Thanks! -reed _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF and ASP
Can I have some ASP code in my test.cfm file? Its a breadcrumb writting in ASP. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF and ASP
Doubt it the .cfm file will tell the webserver to use the Cold Fusion app server... if it has an asp extension it would then run through the asp.dll I know this can be changed but I doubt that you would be able to get both languages going at the same time... -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 17:38 To: CF-Talk Subject: RE: CF and ASP Can I have some ASP code in my test.cfm file? Its a breadcrumb writting in ASP. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF and ASP
What if you used an IFRAME. That may work. Dunno though as I have never tried it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 2:39 PM To: CF-Talk Subject: RE: CF and ASP Doubt it the .cfm file will tell the webserver to use the Cold Fusion app server... if it has an asp extension it would then run through the asp.dll I know this can be changed but I doubt that you would be able to get both languages going at the same time... -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 17:38 To: CF-Talk Subject: RE: CF and ASP Can I have some ASP code in my test.cfm file? Its a breadcrumb writting in ASP. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CF and ASP
nice thinking see no reason why it shouldn't work as it is two separate page calls.. I like it Steven :-) -Original Message- From: Schuster, Steven [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 19:41 To: CF-Talk Subject: RE: CF and ASP What if you used an IFRAME. That may work. Dunno though as I have never tried it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 2:39 PM To: CF-Talk Subject: RE: CF and ASP Doubt it the .cfm file will tell the webserver to use the Cold Fusion app server... if it has an asp extension it would then run through the asp.dll I know this can be changed but I doubt that you would be able to get both languages going at the same time... -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 17:38 To: CF-Talk Subject: RE: CF and ASP Can I have some ASP code in my test.cfm file? Its a breadcrumb writting in ASP. _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF and ASP
Bushy wrote: Can I have some ASP code in my test.cfm file? Its a breadcrumb writting in ASP. Why bother? There are several very good bread crumb functions and custom tags on MM exchange and cflib.org. larry [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: CF and ASP
Yea...I found a few on MM exchange. They just need a little modifying --Original Message Text--- From: Larry C. Lyons Date: Mon, 24 Nov 2003 21:04:30 -0500 Bushy wrote: Can I have some ASP code in my test.cfm file? Its a breadcrumb writting in ASP. Why bother? There are several very good bread crumb functions and custom tags on MM exchange and cflib.org. larry [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Translation please: CFC::CF as ???:ASP
Dave Watts wrote: So, my question is, what do ASP people refer to components as? Within a well-designed classic ASP application, business logic is separated from ASP scripting by putting it within COM (or COM+ or MTS) objects. Classic ASP development best practices recommend the use of COM for any significant application logic. I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. If the ASP application is using COM objects, you may be able to successfully use them from CF, depending on how they're written. But I wouldn't recommend using CF to talk to COM objects generally, if you can avoid it. Since Asp 3.0 there is the possibility to use VBScript's functionality to create classes. This is only with the windows script runtime 5.6 and higher if I'm not mistaking. This supplies only classes, no inheritance or overloading, no access control, but at least some form of encapsulating functionality. This ofcourse cannot be shared with Coldfusion unless you implement all functionality on both sides or use WDDX or XML or any other language to pass parameters around. Jesse [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Translation please: CFC::CF as ???:ASP
Hi guys!I have a client who is dealing with a software development company that supplies a VB-based client application, which also has a web component.They do their web work in ASP.My client has another vendor that prefers to use CF for their work, and needs to talk to the ASP oriented vendor.I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. So, my question is, what do ASP people refer to components as? Also, do the ASP folks have the same ability that CFMX has with respect to generating compiled code, or do the ASP scripts have to be interpreted every time they run? thanks for any help and ideas [still looking for a permanent CF gig here in Pittsburgh!] -reed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Translation please: CFC::CF as ???:ASP
I am not an ASP person, but as far as I know ASP is an interpreted language and in its capabilities similar to CF5 (through CF has way more futures). There is no equivalent of components for ASP AFAIK. I think CFMX is more like .net. I would suggest that you use web services for communication between CF and ASP parts. TK - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: CF-Talk Sent: Thursday, October 23, 2003 1:15 PM Subject: Translation please: CFC::CF as ???:ASP Hi guys!I have a client who is dealing with a software development company that supplies a VB-based client application, which also has a web component.They do their web work in ASP.My client has another vendor that prefers to use CF for their work, and needs to talk to the ASP oriented vendor.I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. So, my question is, what do ASP people refer to components as? Also, do the ASP folks have the same ability that CFMX has with respect to generating compiled code, or do the ASP scripts have to be interpreted every time they run? thanks for any help and ideas [still looking for a permanent CF gig here in Pittsburgh!] -reed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Translation please: CFC::CF as ???:ASP
ASP is not object oriented so you won't get anything like components. ASP is procedural. If you want something OO based then maybe the ASP guys can change over to ASP.NET which is OO. It sounds like web services would be the best way to go for what you want to do. Ben -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:16 PM To: CF-Talk Subject: Translation please: CFC::CF as ???:ASP Hi guys!I have a client who is dealing with a software development company that supplies a VB-based client application, which also has a web component.They do their web work in ASP.My client has another vendor that prefers to use CF for their work, and needs to talk to the ASP oriented vendor.I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. So, my question is, what do ASP people refer to components as? Also, do the ASP folks have the same ability that CFMX has with respect to generating compiled code, or do the ASP scripts have to be interpreted every time they run? thanks for any help and ideas [still looking for a permanent CF gig here in Pittsburgh!] -reed _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Translation please: CFC::CF as ???:ASP
ASP's equivalent of a CFC would be a VB based COM object. If you need two way communications and they're stuck with traditional ASP, then WDDX may be the best approach.There's a WDDX COM object they can use to serialize/deserialize ASP variables the same way we do with CF. If they were to use ASP.NET then web services would be advisable, but still there are interoperability issues with web services using all but the most basic variable types. Other options would be to come up with a custom XML schema for your communications that you both can agree on and use that.For CF, XML development is very quick and it's not too bad in ASP either. ASP is interpreted each time (I think it's converted to p-code and cached in memory).ASP.NET is compiled.The interpreted vs. compiled argument isn't always valid.Blue Dragon's implementation of CFML is faster than MM's CF in many cases but BD uses an interpreted (p-code) mechanism. Good luck, Sam -- Blog:http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:16 PM To: CF-Talk Subject: Translation please: CFC::CF as ???:ASP Hi guys!I have a client who is dealing with a software development company that supplies a VB-based client application, which also has a web component. They do their web work in ASP.My client has another vendor that prefers to use CF for their work, and needs to talk to the ASP oriented vendor.I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. So, my question is, what do ASP people refer to components as? Also, do the ASP folks have the same ability that CFMX has with respect to generating compiled code, or do the ASP scripts have to be interpreted every time they run? thanks for any help and ideas [still looking for a permanent CF gig here in Pittsburgh!] -reed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Translation please: CFC::CF as ???:ASP
So, my question is, what do ASP people refer to components as? Within a well-designed classic ASP application, business logic is separated from ASP scripting by putting it within COM (or COM+ or MTS) objects. Classic ASP development best practices recommend the use of COM for any significant application logic. I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. If the ASP application is using COM objects, you may be able to successfully use them from CF, depending on how they're written. But I wouldn't recommend using CF to talk to COM objects generally, if you can avoid it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Re: Translation please: CFC::CF as ???:ASP
COM OBJECTS? - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: CF-Talk Sent: Thursday, October 23, 2003 12:15 PM Subject: Translation please: CFC::CF as ???:ASP Hi guys!I have a client who is dealing with a software development company that supplies a VB-based client application, which also has a web component.They do their web work in ASP.My client has another vendor that prefers to use CF for their work, and needs to talk to the ASP oriented vendor.I'm trying to talk to the ASP guys about using CFC-like components so that the client's CF guys can interface with them, but the ideas just aren't getting across. So, my question is, what do ASP people refer to components as? Also, do the ASP folks have the same ability that CFMX has with respect to generating compiled code, or do the ASP scripts have to be interpreted every time they run? thanks for any help and ideas [still looking for a permanent CF gig here in Pittsburgh!] -reed [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
easier in cf then asp, but i need it in asp
Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
Maybe I'm misunderstanding, but wouldn't your login simply be a SELECT from the db to get the validation credentials? Or is this using NT Authentication? If it's a simple db lookup, you just put two queries in the login page -- the login itself and the insert. You can make it even easier by having the login check call a stored proc that does the validation and the insert. (sorry -- just saw Access. No stored procs). Something like CFQUERY name=validateLogin SELECT user.* FROM user WHERE user.username = '#form.username#' AND user.password='#form.password#' /CFQUERY CFIF validateLogin.recordcount EQ 1 CFQUERY INSERT INTO tblLogins(username,logTime) VALUES('#form.username#',NOW()) /CFQUERY rest of page CFELSE Bad login/etc You can do this much slicker, but this gets the point across. So just two queries on the login page -- that's it. Or is there something more complicated going on? Regards, John Paul Ashenfelter CTO/Transitionpoint [EMAIL PROTECTED] - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
1) Are you using asp3 or asp.net? 2) as someone else asked, how are they logging in? Thru a form on an asp page or from a pop-up that the web server gives (NT Challenge/response, Authentix, or something similar. In other words, where does the user database come from?) - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
in cf it is a lot easier unfortunately, I need it in asp, which doesn't work so well but thanks for your effort:) dave - Original Message - From: John Paul Ashenfelter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:33 PM Subject: Re: easier in cf then asp, but i need it in asp Maybe I'm misunderstanding, but wouldn't your login simply be a SELECT from the db to get the validation credentials? Or is this using NT Authentication? If it's a simple db lookup, you just put two queries in the login page -- the login itself and the insert. You can make it even easier by having the login check call a stored proc that does the validation and the insert. (sorry -- just saw Access. No stored procs). Something like CFQUERY name=validateLogin SELECT user.* FROM user WHERE user.username = '#form.username#' AND user.password='#form.password#' /CFQUERY CFIF validateLogin.recordcount EQ 1 CFQUERY INSERT INTO tblLogins(username,logTime) VALUES('#form.username#',NOW()) /CFQUERY rest of page CFELSE Bad login/etc You can do this much slicker, but this gets the point across. So just two queries on the login page -- that's it. Or is there something more complicated going on? Regards, John Paul Ashenfelter CTO/Transitionpoint [EMAIL PROTECTED] - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
asp3 using the standard dwmx login form, non-secure unfortunately, they won't let me spend the $ to get them cfmx - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:38 PM Subject: Re: easier in cf then asp, but i need it in asp 1) Are you using asp3 or asp.net? 2) as someone else asked, how are they logging in? Thru a form on an asp page or from a pop-up that the web server gives (NT Challenge/response, Authentix, or something similar. In other words, where does the user database come from?) - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
You'll have to use a global.asa (similar to application.cfm) to initialize and hold session variables for the authenticated user, and include something like this in the Session_OnStart method... ' NT challenge response. Make sure the user is logged in to the ' network. If Request.ServerVariables(LOGON_USER) = Then Response.AddHeader WWW-Authenticate, ntlm Response.AddHeader WWW-Authenticate, basic Response.Status = 401 Unauthorized Response.End ElseIf Request.ServerVariables(LOGON_USER) AND Session(Authenticated) = False Then ' Do Database Insert Here of Login and DateTime... ' Set authenticated session var to true... Session(Authenticated) = True End if Maybe this can get you started... HTH, Jeff - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 11:59 AM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
right on, thank you this might call 4 a thinking session on the thrown haha - Original Message - From: Jeff Garza [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:47 PM Subject: Re: easier in cf then asp, but i need it in asp You'll have to use a global.asa (similar to application.cfm) to initialize and hold session variables for the authenticated user, and include something like this in the Session_OnStart method... ' NT challenge response. Make sure the user is logged in to the ' network. If Request.ServerVariables(LOGON_USER) = Then Response.AddHeader WWW-Authenticate, ntlm Response.AddHeader WWW-Authenticate, basic Response.Status = 401 Unauthorized Response.End ElseIf Request.ServerVariables(LOGON_USER) AND Session(Authenticated) = False Then ' Do Database Insert Here of Login and DateTime... ' Set authenticated session var to true... Session(Authenticated) = True End if Maybe this can get you started... HTH, Jeff - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 11:59 AM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
So does thethe DWMX form just do a look up in your database or does it have some other method of authentication? I don't really use DW very much. Craig - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:46 PM Subject: Re: easier in cf then asp, but i need it in asp asp3 using the standard dwmx login form, non-secure unfortunately, they won't let me spend the $ to get them cfmx - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:38 PM Subject: Re: easier in cf then asp, but i need it in asp 1) Are you using asp3 or asp.net? 2) as someone else asked, how are they logging in? Thru a form on an asp page or from a pop-up that the web server gives (NT Challenge/response, Authentix, or something similar. In other words, where does the user database come from?) - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
right, just checks the db - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 3:22 PM Subject: Re: easier in cf then asp, but i need it in asp So does thethe DWMX form just do a look up in your database or does it have some other method of authentication? I don't really use DW very much. Craig - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:46 PM Subject: Re: easier in cf then asp, but i need it in asp asp3 using the standard dwmx login form, non-secure unfortunately, they won't let me spend the $ to get them cfmx - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:38 PM Subject: Re: easier in cf then asp, but i need it in asp 1) Are you using asp3 or asp.net? 2) as someone else asked, how are they logging in? Thru a form on an asp page or from a pop-up that the web server gives (NT Challenge/response, Authentix, or something similar. In other words, where does the user database come from?) - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: easier in cf then asp, but i need it in asp
It should be just as easy in asp. Open your connection to the db, then run the two queries. I don't understand why this would be any more difficult in asp than in CF. I am not an ASP person, so this took a bit of playing to get just right, but it should be totally doable. If your checking against a db it should be something like this: % Set MyConn = Server.CreateObject(ADODB.Connection) MyConn.Open FILEDSN=C:\Program Files\Common Files\ODBC\Data Sources\test.dsn SQL_query = select * from users where cUserName = 'tim' and cPassword = 'test' Set RS = MyConn.Execute(SQL_query) dim rsc rsc = 0 WHILE NOT RS.EOF rsc = rsc + 1 if rsc 0 then response.write(rs(cUserName)) sql2 = insert into logs(numbers) values(2) Set rs2 = MyConn.Execute(sql2) end if RS.MoveNext wend % Tim -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 2:44 PM To: CF-Talk Subject: Re: easier in cf then asp, but i need it in asp in cf it is a lot easier unfortunately, I need it in asp, which doesn't work so well but thanks for your effort:) dave - Original Message - From: John Paul Ashenfelter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:33 PM Subject: Re: easier in cf then asp, but i need it in asp Maybe I'm misunderstanding, but wouldn't your login simply be a SELECT from the db to get the validation credentials? Or is this using NT Authentication? If it's a simple db lookup, you just put two queries in the login page -- the login itself and the insert. You can make it even easier by having the login check call a stored proc that does the validation and the insert. (sorry -- just saw Access. No stored procs). Something like CFQUERY name=validateLogin SELECT user.* FROM user WHERE user.username = '#form.username#' AND user.password='#form.password#' /CFQUERY CFIF validateLogin.recordcount EQ 1 CFQUERY INSERT INTO tblLogins(username,logTime) VALUES('#form.username#',NOW()) /CFQUERY rest of page CFELSE Bad login/etc You can do this much slicker, but this gets the point across. So just two queries on the login page -- that's it. Or is there something more complicated going on? Regards, John Paul Ashenfelter CTO/Transitionpoint [EMAIL PROTECTED] - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
Ok. What you need to do is after the login check do an if statement. If the login was successful, use something like this: dim cmd set cmd = Server.Create(ADODB.Command) cmd.ActiveConnection = MyADODBConnection cmd.CommandText = insert into tblTrackLogins (username) values ( + MyUserRecordset(username) + ) cmd.Execute MyADODBConnection is a connection object I assume you already have instantiated from the login check. Similarily, MyUserRecordset would be the ADO recordset from your login check and you just grab whatever the username field is. If you need more help, send me your page of code off list. Craig - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:36 PM Subject: Re: easier in cf then asp, but i need it in asp right, just checks the db - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 3:22 PM Subject: Re: easier in cf then asp, but i need it in asp So does thethe DWMX form just do a look up in your database or does it have some other method of authentication? I don't really use DW very much. Craig - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:46 PM Subject: Re: easier in cf then asp, but i need it in asp asp3 using the standard dwmx login form, non-secure unfortunately, they won't let me spend the $ to get them cfmx - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:38 PM Subject: Re: easier in cf then asp, but i need it in asp 1) Are you using asp3 or asp.net? 2) as someone else asked, how are they logging in? Thru a form on an asp page or from a pop-up that the web server gives (NT Challenge/response, Authentix, or something similar. In other words, where does the user database come from?) - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: easier in cf then asp, but i need it in asp
Thanks a lot! I will try it I might send you the code, I'll owe u 1 though! - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 5:00 PM Subject: Re: easier in cf then asp, but i need it in asp Ok. What you need to do is after the login check do an if statement. If the login was successful, use something like this: dim cmd set cmd = Server.Create(ADODB.Command) cmd.ActiveConnection = MyADODBConnection cmd.CommandText = insert into tblTrackLogins (username) values ( + MyUserRecordset(username) + ) cmd.Execute MyADODBConnection is a connection object I assume you already have instantiated from the login check. Similarily, MyUserRecordset would be the ADO recordset from your login check and you just grab whatever the username field is. If you need more help, send me your page of code off list. Craig - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:36 PM Subject: Re: easier in cf then asp, but i need it in asp right, just checks the db - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 3:22 PM Subject: Re: easier in cf then asp, but i need it in asp So does thethe DWMX form just do a look up in your database or does it have some other method of authentication? I don't really use DW very much. Craig - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 1:46 PM Subject: Re: easier in cf then asp, but i need it in asp asp3 using the standard dwmx login form, non-secure unfortunately, they won't let me spend the $ to get them cfmx - Original Message - From: Fregas [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 2:38 PM Subject: Re: easier in cf then asp, but i need it in asp 1) Are you using asp3 or asp.net? 2) as someone else asked, how are they logging in? Thru a form on an asp page or from a pop-up that the web server gives (NT Challenge/response, Authentix, or something similar. In other words, where does the user database come from?) - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:59 PM Subject: easier in cf then asp, but i need it in asp Sorry for posting this here but no one seems to know on the asp boards. I pretty much have this figured out in cf but not as easy in asp. I have a clients site that is in asp and they need to track when a person logs in for example, they need to be able to pull up employee A and see their login history, As they are supposed to be logging in at certain intervals. They dont want any additional pages or buttons to push, so when an employee logs in it also inserts a new entry into the db table called tblTrackLogins I dont believe you can do a login and insert at the same time in ASP. The only way I have really been able to do this is to post the login form to another page and then have them hit a submit button to insert it but they dont want that. The only entry I really need to pull is their username and then just have the db insert the Now() when created. BTW, ASP Access 2000 thanks! Dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF to ASP ?
On Thu, 2002-12-12 at 19:34, Cold As Ice Fusion wrote: I can't find CF work here in California bay area. It seems like there are about 10 times as many ASP.net jobs out there, so I'm looking for some pointers on getting started with ASP.NET from a cf fusebox developers perspective. -- First site you should go to: http://www.asp.net/ Download the ibuyspy sample applications. http://www.asp.net/Default.aspx?tabindex=5tabid=42 Complete all the tutorials, get an ASP.NET book... do some more tutorials. Write a sample application. Rinse. Repeat. AJ -- Aaron Johnson http://cephas.net/blog/ [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
CF to ASP ?
I can't find CF work here in California bay area. It seems like there are about 10 times as many ASP.net jobs out there, so I'm looking for some pointers on getting started with ASP.NET from a cf fusebox developers perspective. Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
(OT) CF vs. Asp vs. etc.
PLEASE DO NOT REPLY TO THIS THREAD ON CF-TALK. I've been asked to update the HoF document on CF vs. Asp. I'm not really doing anything with .Net so it's going to be somewhat of a problem. A perfect solution is to ask the community for help. I'd like to ask anyone who wants to help define the categories of difference and the actual differences to come over to the CF-OT list so we can discuss this and build a good list. I'd rather not do it here as it'll be long, drawn out, and have very little to do with CF tech that will be useful to most. Basically, it's a thread perfectly designed for the CF-OT list. You can subscribe to the CF-OT list by going to the main list page (http://www.houseoffusion.com/cf_lists/), selecting that list and hitting the subscribe button. If your not already signed into HoF, you'll have to do that as well (http://www.houseoffusion.com/signin). There are a number of other new lists on the side as well for your discussion pleasure. :) p.s. Any debate about this topic being on or off topic for CF-Talk should also take place there. PLEASE DO NOT REPLY TO THIS THREAD ON CF-TALK. Thank you. Michael Dinowitz Master of the House of Fusion http://www.houseoffusion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
CF vs ASP
OK...I know I'm going to get beat-up over this question, but... Being new at this, I am trying to determine why I should learn CF over ASP (or vice versa). Any input would be appreciated. Thanks. Craig
RE: CF vs ASP
Being new at this, I am trying to determine why I should learn CF over ASP (or vice versa). http://www.macromedia.com/software/coldfusion/productinfo/competitive/ Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: CF vs ASP
I think you would be better off learning JSP(java server pages) and some j2ee. Why? Because what CFMX does is translate CFML pages into some servlets (correct me if I am wrong) so why learning CF(providing you don't know it already) when you can learn Java(JSP and stuff). As I see it CF is far from beating Java(that's why they choose to use java in their very own CF) Well, I have quite some experience with CF(more than 3 years) and I didn't upgrade to CFMX and I will never do it. Why not ASP? Well because if you do that you are stuck with windows. If that is not a problem go for it :) Marius Burz ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: CF vs ASP
I'm hard pressed not to move all of my future development to .Net. AS much as I love CF and how well I know it, Being a Windows application developer, I can't not switch to .NET it will allow me to have all of our programmers on 1 platforma dn deploy our applications in whatever enviroment that we see fit Hate to say it but my days on the list are numbered... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:03 AM To: CF-Talk Subject: RE: CF vs ASP I think you would be better off learning JSP(java server pages) and some j2ee. Why? Because what CFMX does is translate CFML pages into some servlets (correct me if I am wrong) so why learning CF(providing you don't know it already) when you can learn Java(JSP and stuff). As I see it CF is far from beating Java(that's why they choose to use java in their very own CF) Well, I have quite some experience with CF(more than 3 years) and I didn't upgrade to CFMX and I will never do it. Why not ASP? Well because if you do that you are stuck with windows. If that is not a problem go for it :) Marius Burz ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: CF vs ASP
Well, Kim... Keep in mind that you can still be a .NET guru and live in harmony with CF!!! I, too, am a Windows App Developer, and have been using .NET for about 2 years now (only 5 months in a production environment). I use CFMX in conjunction with .NET with great success. I still use CF for internet/intranet development (because of it's ease of use and development), Asp.NET for heavy heavy intranet apps, and C# for custom ASP.NET controls and for regular application development. I also make use of .NET Remoting and some COM wrapping (with C#) as well, and am looking in Windows CE.NET development as well. With the 2 together (plus Flash for some PocketPC development), I couldn't be happier (or more productive) than I am right now :-) - Gary Sullivan -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:07 AM To: CF-Talk Subject: RE: CF vs ASP I'm hard pressed not to move all of my future development to .Net. AS much as I love CF and how well I know it, Being a Windows application developer, I can't not switch to .NET it will allow me to have all of our programmers on 1 platforma dn deploy our applications in whatever enviroment that we see fit Hate to say it but my days on the list are numbered... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:03 AM To: CF-Talk Subject: RE: CF vs ASP I think you would be better off learning JSP(java server pages) and some j2ee. Why? Because what CFMX does is translate CFML pages into some servlets (correct me if I am wrong) so why learning CF(providing you don't know it already) when you can learn Java(JSP and stuff). As I see it CF is far from beating Java(that's why they choose to use java in their very own CF) Well, I have quite some experience with CF(more than 3 years) and I didn't upgrade to CFMX and I will never do it. Why not ASP? Well because if you do that you are stuck with windows. If that is not a problem go for it :) Marius Burz ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: CF vs ASP
Good point. -Original Message- From: Gary W. Sullivan II [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:18 AM To: CF-Talk Subject: RE: CF vs ASP Well, Kim... Keep in mind that you can still be a .NET guru and live in harmony with CF!!! I, too, am a Windows App Developer, and have been using .NET for about 2 years now (only 5 months in a production environment). I use CFMX in conjunction with .NET with great success. I still use CF for internet/intranet development (because of it's ease of use and development), Asp.NET for heavy heavy intranet apps, and C# for custom ASP.NET controls and for regular application development. I also make use of .NET Remoting and some COM wrapping (with C#) as well, and am looking in Windows CE.NET development as well. With the 2 together (plus Flash for some PocketPC development), I couldn't be happier (or more productive) than I am right now :-) - Gary Sullivan -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:07 AM To: CF-Talk Subject: RE: CF vs ASP I'm hard pressed not to move all of my future development to .Net. AS much as I love CF and how well I know it, Being a Windows application developer, I can't not switch to .NET it will allow me to have all of our programmers on 1 platforma dn deploy our applications in whatever enviroment that we see fit Hate to say it but my days on the list are numbered... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:03 AM To: CF-Talk Subject: RE: CF vs ASP I think you would be better off learning JSP(java server pages) and some j2ee. Why? Because what CFMX does is translate CFML pages into some servlets (correct me if I am wrong) so why learning CF(providing you don't know it already) when you can learn Java(JSP and stuff). As I see it CF is far from beating Java(that's why they choose to use java in their very own CF) Well, I have quite some experience with CF(more than 3 years) and I didn't upgrade to CFMX and I will never do it. Why not ASP? Well because if you do that you are stuck with windows. If that is not a problem go for it :) Marius Burz ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF vs ASP
I definitely agree that it is important to know Java and J2EE nowadays. But, you can't compare learning java and CFML, they are two completely different things. Java and especially J2EE is incredibly complex and requires weeks/month of training to start getting to know parts of it. JSP (just a small part of J2EE) requires good knowledges of Java and is still at a prehistoric stage in terms of functionality and development compared to the richness of CFML and ASP.NET (event if it is getting better with JSTL and the future implementation of JSP). CFML is still unbeatable in terms of productivity and ease of use. It is pity to say I didn't upgrade to CFMX and I will never do it. How can you judge something if you haven't tried it? In fact, CFMX can be a very good choice for the presentation layer of a big J2EE app. Tried to build a small app with JSP and basic JavaBeans then do the same with CFML and CFCs... you'll we see the difference in terms of productivity... (and then add a rich client with Flash Remoting!) Benoit Hediard www.benorama.com -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 9 octobre 2002 15:03 À : CF-Talk Objet : RE: CF vs ASP I think you would be better off learning JSP(java server pages) and some j2ee. Why? Because what CFMX does is translate CFML pages into some servlets (correct me if I am wrong) so why learning CF(providing you don't know it already) when you can learn Java(JSP and stuff). As I see it CF is far from beating Java(that's why they choose to use java in their very own CF) Well, I have quite some experience with CF(more than 3 years) and I didn't upgrade to CFMX and I will never do it. Why not ASP? Well because if you do that you are stuck with windows. If that is not a problem go for it :) Marius Burz ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF vs ASP
Oh my, the reasons are endless. Here is my $.0002 1. ASP has (last time I checked) awful access to database info. The steps to do a simple query were nuts. CF database access is much more intuitive. 2. A lot easier to learn, if you don't know VB or some other programming language - and even if you do :) 3. CF Runs on a lot of platforms, so you don't wind up looking for a job that has we are a microsoft shop in it. Your skills are a bit more portable. 4. MX - while it is pissing me off right now - has really nice XML integration. So I foresee people working with XML in CF **A LOT** easier then ASP. However, I am simply a lowly coder - So I encourage you to learn more about both languages. -Original Message- From: Howell Craig H Civ WRALC/LEEA [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 4:59 AM To: CF-Talk Subject: CF vs ASP OK...I know I'm going to get beat-up over this question, but... Being new at this, I am trying to determine why I should learn CF over ASP (or vice versa). Any input would be appreciated. Thanks. Craig ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CF vs ASP
Ack! Contrary to that opinion I'd start in the CF realm first for the simple fact of a more forgiving learning curve. You can be productive in much less time. As for touting a pure JSP/Java approach...Just takes longer and has a lot more prerequisites. Although there's most definitely a time and place for it of course...really depends on what you're doing. CF is a layer of abstraction...less to worry about...sure there's an associated cost to that but for many projects that's irrelevant...plus there's nothing to stop you from dipping down into a lower level language to get the job done. Stace -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:03 AM To: CF-Talk Subject: RE: CF vs ASP I think you would be better off learning JSP(java server pages) and some j2ee. Why? Because what CFMX does is translate CFML pages into some servlets (correct me if I am wrong) so why learning CF(providing you don't know it already) when you can learn Java(JSP and stuff). As I see it CF is far from beating Java(that's why they choose to use java in their very own CF) Well, I have quite some experience with CF(more than 3 years) and I didn't upgrade to CFMX and I will never do it. Why not ASP? Well because if you do that you are stuck with windows. If that is not a problem go for it :) Marius Burz ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Mixing CF and ASP on same server
Is it ok to mix ColdFusion and ASP applications on the same web server or should they be kept separate on their own servers? Why? Thanks! George [EMAIL PROTECTED] __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mixing CF and ASP on same server
There aren't any conflicts with doing this. The real issue is general server resources. If you've covered that base you'll be ok. -mk -Original Message- From: Earl, George [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:31 PM To: CF-Talk Subject: Mixing CF and ASP on same server Is it ok to mix ColdFusion and ASP applications on the same web server or should they be kept separate on their own servers? Why? Thanks! George [EMAIL PROTECTED] __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mixing CF and ASP on same server
its 100% fine from what I have ran/tested on cf5/cfmx on iis5. now, from what I have learned, I don't think you can have both cf and asp parse the same page ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Earl, George [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 1:31 PM To: CF-Talk Subject: Mixing CF and ASP on same server Is it ok to mix ColdFusion and ASP applications on the same web server or should they be kept separate on their own servers? Why? Thanks! George [EMAIL PROTECTED] __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Mixing CF and ASP on same server
Is it ok to mix ColdFusion and ASP applications on the same web server or should they be kept separate on their own servers? Why? Thanks! It's more overhead on the server since you've got 2 servers taking up memory and cpu time... but there's nothing to prevent it ... My only concern would be that the server has enough resources to handle the load, but beyond that you shouldn't run into any dll conflicts or anything so there shouldn't be any programatic reason to avoid it. S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Mixing CF and ASP on same server
It's really a matter of being able to afford another server. Otherwise, nuffin wrong :) -Original Message- From: Earl, George [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:31 PM To: CF-Talk Subject: Mixing CF and ASP on same server Is it ok to mix ColdFusion and ASP applications on the same web server or should they be kept separate on their own servers? Why? Thanks! George [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Rizal Firmansyah wrote: WOW! Jochem, this is weird. First i thought the first time cfmail being executed within .cfm script, it creates an email-msg file containing all data, including attachments if any. No, just a reference to the attachment. But apparently it doesn't :( Do you know if this particular behaviour occur in CF 5? or just CFMX? This is a change in the behaviour from CF 5 to CF MX. In CF 5 it stored everything in the spooled file, including headers and attachments. Not anymore. Jochem __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Matt Liotta wrote: The problem here is that cfmail doesn't block while the file is in the spool. You are either going to need to adapt your code to support some sort of asynchronous events or use a mail library you can serialize e.g. javax.mail. Hence my comment about first figuring out how CF worked and then deciding I needed something else and figuring out how that worked. Jochem __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
-Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Attempting to show that CF is a more rabid development platform than ASP... Petco* has low-cost clinics every two weeks. You seem to be frothing at the mouth. cf_tongueInCheek * Large pet supply chain in the U.S. __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Ok, I think it's time for me to toss in my 2 cents (.75 cents Canadian). I am replying now, because most of this discussion took place after I went home yesterday. Truth is, I am an ASP developer. I have been for quite some time. I have been developing ASP since version 1.0 and have written some Big, Bad A** apps out there being used by some Fortune 500 firms (Not UPS mind you). I first learned CF in College (part of an internet development class covering CF, Java and other things). I thought it was a shame we didn't learn any ASP, so I approached my professor about it. I explained to him that I knew I was a proficient programmer (he knew as well from previous classes) and asked if I could do our database project in ASP instead of Cold Fusion. When each class got up to explain their code, it was pretty my the same, cfloop here, cfquery there... I got up and showed the ASP code off and the quicker response time (this was in the days of ASP 2.0 vs. CF 2.0, the book we used was BF's Web application Construction Kit 2nd Ed.) I was sold on ASP from that day forward and vowed never to use CF again. I started my own business and things went well for a while. Then I had a major collapse in the market I was trying to sell in and needed to find a steady job while still doing after hours work. UPS offered me a job as a Systems Management Engineer. When I started I wondered, Why did they hire me? I'm an MCSE, MCT and a lot of other TLA's and FLA's. But I had no experience in Tivoli and very little in Cold Fusion. Now, 7 months later, I consider myself very good in Cold Fusion and still learning Tivoli (my project is in web interfaces to Tivoli). In fact, I just finished a major component using CF. Having some perspective on the matter, I still think I like ASP a little better, but that's my opinion. I consider myself almost a VB expert (working on some articles for various M$ programming Mags.), so I like the granularity of ASP. If I had the tools of ASP and CF at my disposal (ASP is banned at UPS), I'd have to look at my situation. If I need something quick and easy and not a lot of fine control, I'd do it in CF easily. If I have more time and need finer control of details, I'd do it in ASP. I have found that most, if not everything that I can do in ASP, I can do in CF. In fact, I'm pushing my team to buy CF 5 or MX and get me out from the heel of CF 4.0. I think I misjudged CF some years ago, but that was when CF didn't look that good to me. (In fact, I'm working on some ideas of Fusebox for ASP.Net myself) One last thing to add to my rant. I think the code on sending e-mail was very skewed. To someone that doesn't know CF very well, it looks like it takes 25+ lines to do what CF does in 1. The code should have been more a comparison as follows: Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing cfmail to= from= server= subject=some stuff here./cfmail That some stuff here encompasses a lot of code to make the body of the e-mail when comparing the two. (*Any opinions expressed are mine and mine alone, they do not reflect those of my employers) Rob Edwards Phone: (502) 359-1627 Systems Management Tools Pager: (502) 478-1116 United Parcel Service Fax:(502) 359-0094 EMail: [EMAIL PROTECTED] (2B || !2B) == ? -Original Message- From: Dick Applebaum [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 11:28 PM To: CF-Talk Subject: Re: CF vs. ASP Matt I think the problem is that the alternative being discussed is from MSoft and the natural reaction is to barf if something is being shoved down your throat -- common sense and merits adide! Dick On Monday, August 26, 2002, at 06:20 PM, Matt Liotta wrote: People on this list are amazing. I haven't pointed out anything that is wrong with CF in this thread. I have simply pointed out that sometimes other solutions are better, which is far from hating CF. __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
I know the whole CF and why people are using it issue has been hashed out quite a bit but I would like to add my two cents coming from a different background than most web developers. I started my programmer career with C. In C you have absolute control over everything going on in your program. You have a veritable dictatorship over what your program is doing. Yes the code takes longer to write and it is more prone to errors due to some of that very control you have. Most programmers have a hard time with some of the concepts in C (Pointers, Memory Allocation). Next I found C++ and ColdFusion practically at the same time. From day one I knew ColdFusion was a good tool. After working for about a year building web applications I knew ColdFusion was a *great* tool for building most web applications. This is in the 2.0 days, so keep that in mind. I already wanted to do things CF simply could not do, or did not do the way a project needed them to. When I had to I fell back on my C programming skills to create a CFX tag to give me the control I needed over my environment to accomplish my job. It is not CFs fault, it was just not equipped with the appropriate tools built-in, that is all. I did not curse CF. By then I understood very well what CF could and could not do. I did not expect it to do more than it should. For as long as I can remember there have been behaviors and functionalities in CF that did not do everything the way I needed for a particular task. Trying to *GET* CF to emulate the behavior or functionality would take more time and be less appropriate than just using the right language. (Usually C since there were not a ton of options in the 2.0 days). I have been doing CF since the 2.0 days and there are *STILL* things in CF that you simply need to have more control over. CF might do 99% of your job and it is the natural pick for a moderately complex web app or as a presentation layer for practically any web app. There might be this one piece of functionality that is not working right, and with the proper skill set and toolset you can make it work right in less time than you can use the wrong tool (CF) to finish up that one last bit of functionality. This is all Matt has been saying, there are times when you *NEED* the control. Saying that anything can be done given the time and money seems a little asinine to me. How much time? What about deadlines? Give me a unlimited resources and 2 or 3 years and I can assemble a team to build almost any web app too. The point is most of us don't have unlimited time, or money, so we all want to be as efficient is possible. The right tools in the right situation make that possible. When CF *IS* the only tool considered Jeremy __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
- Original Message - From: Matt Liotta [EMAIL PROTECTED] People on this list are amazing. I haven't pointed out anything that is wrong with CF in this thread. I have simply pointed out that sometimes other solutions are better, which is far from hating CF. --- Not got through all this thread yet, but I just have to point out: People on this list? Excuse me! A little ironic that you're trying to respond to someone who's distorting your views with sweeping generalisations. It'd help the argument if you were a little less sweeping with the comeback! ;-) - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Which also proves my point. Thank you. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ V: 415-577-8070 F: 415-341-8906 P: [EMAIL PROTECTED] -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 3:07 AM To: CF-Talk Subject: Re: CF vs. ASP Matt Liotta wrote: The problem here is that cfmail doesn't block while the file is in the spool. You are either going to need to adapt your code to support some sort of asynchronous events or use a mail library you can serialize e.g. javax.mail. Hence my comment about first figuring out how CF worked and then deciding I needed something else and figuring out how that worked. Jochem __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Sorry, I seem to generate a good deal of offlist email that I factor into my responses. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ V: 415-577-8070 F: 415-341-8906 P: [EMAIL PROTECTED] -Original Message- From: Gyrus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 6:54 AM To: CF-Talk Subject: Re: CF vs. ASP - Original Message - From: Matt Liotta [EMAIL PROTECTED] People on this list are amazing. I haven't pointed out anything that is wrong with CF in this thread. I have simply pointed out that sometimes other solutions are better, which is far from hating CF. --- Not got through all this thread yet, but I just have to point out: People on this list? Excuse me! A little ironic that you're trying to respond to someone who's distorting your views with sweeping generalisations. It'd help the argument if you were a little less sweeping with the comeback! ;-) - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Knew this was going to be a big thread... __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
- Original Message - From: Jacob [EMAIL PROTECTED] Knew this was going to be a big thread... --- How about CFvsASP-Talk !! ;-) - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Very well said... use appropriate tool for the situation... you can develop a web application in C++/Javathey are great tools but aimed to broad spectrum programming not RAD/Web... as in the case what the industry demands. CF was developed as web application tool and does a great job for most things that are related to web application development. ASP was just an extention of IIS to start with and has progressed to .NET/aspx.. good... but not strictly targetted to Web RAD and not portable. Joe - Original Message - From: Jeremy Allen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 9:31 AM Subject: RE: CF vs. ASP I know the whole CF and why people are using it issue has been hashed out quite a bit but I would like to add my two cents coming from a different background than most web developers. I started my programmer career with C. In C you have absolute control over everything going on in your program. You have a veritable dictatorship over what your program is doing. Yes the code takes longer to write and it is more prone to errors due to some of that very control you have. Most programmers have a hard time with some of the concepts in C (Pointers, Memory Allocation). Next I found C++ and ColdFusion practically at the same time. From day one I knew ColdFusion was a good tool. After working for about a year building web applications I knew ColdFusion was a *great* tool for building most web applications. This is in the 2.0 days, so keep that in mind. I already wanted to do things CF simply could not do, or did not do the way a project needed them to. When I had to I fell back on my C programming skills to create a CFX tag to give me the control I needed over my environment to accomplish my job. It is not CFs fault, it was just not equipped with the appropriate tools built-in, that is all. I did not curse CF. By then I understood very well what CF could and could not do. I did not expect it to do more than it should. For as long as I can remember there have been behaviors and functionalities in CF that did not do everything the way I needed for a particular task. Trying to *GET* CF to emulate the behavior or functionality would take more time and be less appropriate than just using the right language. (Usually C since there were not a ton of options in the 2.0 days). I have been doing CF since the 2.0 days and there are *STILL* things in CF that you simply need to have more control over. CF might do 99% of your job and it is the natural pick for a moderately complex web app or as a presentation layer for practically any web app. There might be this one piece of functionality that is not working right, and with the proper skill set and toolset you can make it work right in less time than you can use the wrong tool (CF) to finish up that one last bit of functionality. This is all Matt has been saying, there are times when you *NEED* the control. Saying that anything can be done given the time and money seems a little asinine to me. How much time? What about deadlines? Give me a unlimited resources and 2 or 3 years and I can assemble a team to build almost any web app too. The point is most of us don't have unlimited time, or money, so we all want to be as efficient is possible. The right tools in the right situation make that possible. When CF *IS* the only tool considered Jeremy __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Matt I think we all agree that we should use the best tool for the job. The point everyone is trying to convey to you is that CF is the best tool for the job more often than ASP (or PHP etc.). This is because it does dang near everything we want and when it doesn't more than likely someone has already written a custom tag or UDF to handle it. We're all rightlets go for a beer (Canadian beer that is) ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Matt Liotta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 26, 2002 6:22 PM Subject: RE: CF vs. ASP Sure... but the same could be said about ANY programming language. But this isn't ANY-Talk. This is CF-Talk and we are discussing CF vs. ASP, which makes it relevant. I certainly don't believe ColdFusion is the ultimate solution for EVERY job, just like I don't use a pipe wrench when I really need a hammer. UNLESS the pipe wrench will fix my problem faster than it would take me to get up, go to the garage, and get the hammer. :-) That is a great attitude! Now if only the rest of the list would feel the same way. -Matt __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
I'm not necessarily agreeing with everything that Matt Liotta says but, gosh, is wouldn't go so far as to say that CF is the best tool for the job more often than not. It's a good tool for small-medium sized websites, and it's nice and fast dev time, but there are many instances that CF is not necessarily the best tool for the job, although it can be used. Intranets are one thing I can think of. I have an intranet here that I wrote last year using CF - because I am most experienced at CF. However, I believe that had I written it in ASP, I would have not encountered the numerous problems and trials that using COM through CF gives us. I have actually written one page in CF that calls an ASP page because ASP does the job quicker and easier. I love CF, I used to work for Allaire, but let's not kid ourselves and think that CF is the hammer that can strike all the nails. Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:49 AM To: CF-Talk Subject: Re: CF vs. ASP Matt I think we all agree that we should use the best tool for the job. The point everyone is trying to convey to you is that CF is the best tool for the job more often than ASP (or PHP etc.). This is because it does dang near everything we want and when it doesn't more than likely someone has already written a custom tag or UDF to handle it. We're all rightlets go for a beer (Canadian beer that is) ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Matt Liotta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 26, 2002 6:22 PM Subject: RE: CF vs. ASP Sure... but the same could be said about ANY programming language. But this isn't ANY-Talk. This is CF-Talk and we are discussing CF vs. ASP, which makes it relevant. I certainly don't believe ColdFusion is the ultimate solution for EVERY job, just like I don't use a pipe wrench when I really need a hammer. UNLESS the pipe wrench will fix my problem faster than it would take me to get up, go to the garage, and get the hammer. :-) That is a great attitude! Now if only the rest of the list would feel the same way. -Matt __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Thanks Bruce, this was very good advice. I never thought this would start such an animated discussion but I'm glad I asked, I'm definitely continuing with learning outside of CF (along side of CF, not instead - I still think CF is above the rest - it definitely has one of the better mailing lists for it!) Jimmy -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 6:28 PM To: CF-Talk Subject: RE: CF vs. ASP I know that I am chiming in late here, but here goes. Learning another language can never hurt. Case in point. I put all of my eggs in one basket and stuck to just CF. Although I have a good job that pays very well, I am finding that I am starting to regret limiting myself to just CF. Currently our Intranet in 98% CF, and our Portal is 99% ASP (currently being converted to ASP.net). The problem that I see is that all of the upper management is totally sold on .net and we have to keep justifying why we need CF. What I see is that I may become somewhat of an anachronism if I do not do something about it, so I am learning .net and PHP to improve job security (PHP is really for my side work), and let us not forget the all important marketability aspect of being a programmer. -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 1:44 PM To: CF-Talk Subject: CF vs. ASP Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Would that be with the CFSHUTTLE tag? Mr. Sulu, instantiate the fuel tank separation CFC! -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 7:39 PM To: CF-Talk Subject: RE: CF vs. ASP sorry, i didnt mean to come across like that, if you read. as i quote myself. now, amazon, ill give that to ya, nice shopping cart system, but the truth is, i could have done those, given the time, the resources and the money, i could have easily programmed, everything in any of those... WITH THE TIME, THE RESOURCES, AND THE MONEY any of us here could ;) in fact, i bet, if a company who could hire the talent pool of this talk list, collectively, shoot, we could probably figure out a way to program the shuttles next trip to the moon using cf, of course ;) tony -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 8:28 PM To: CF-Talk Subject: RE: CF vs. ASP but, to put it blatantly honest, its all about perspective... in my mind, if im not building the biggest baddest web apps in the world, then im building nothing...and who is the judge of that? me. and really, only me. thanks. So if I hire you to create hello world in CF, will it be the biggest baddest wed app in the world? There's perspective and then there's... Some web apps are big and bad and others... well... they're not! now, amazon, ill give that to ya, nice shopping cart system, but the truth is, i could have done those, given the time, the resources and the money, i could have easily programmed, everything in any of those, i just wasnt given the chance. so, to wit...im here chillin and grillin on delmarva, sittin on the chesapeake bay building my own BAD A** web apps, sitting back, laughing, making nice cake! with, can you guess ladies and gentsCF Have you seen the Amazon.com taxonomy and recommendation engine? Something like that is actually really hard to do and generally takes some really smart people working as a team to pull it off. I may have a bigger ego than most when it comes to programming, but I wouldn't call the Amazon.com web app easy. -Matt __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
But if you wanted a job with the Toyota dealer and his cars were electric and you were only exposed to diesel engines, you would have to cross that job off your list. But as was stated before you had at least dabbled a little here and there (even if it was with 101 science projects from Radio Shack) you might have your foot in the door with the I am flexible and constantly expand my horizons argument. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 5:36 PM To: CF-Talk Subject: RE: CF vs. ASP thank you bryan! let matt be matt, i kinda was waiting for his response, i knew it would be very matt ;-) anyhow, the truth of the matter is thisif i can develop rich cf applications for companies in half the time, that it might take an asp coder to do it, with half the code, i will, and until something better comes along, thats what im doing... of course there is other code to the cfmail tag, what idiot wouldnt know that? but the point was, from a developers prospective, why waste your time on asp or php or anything like that, when you can simply make the BIGGEST BADDEST web apps in the world, with an easy to use tag based markup language. i didnt ask the toyota dealer if he used craftsman tools to build my celica, i simply asked him if it worked, and when i turned the ignition on, it worked, i was pleased. tony -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 5:10 PM To: CF-Talk Subject: Re: CF vs. ASP Matt I think Tony is bang on. Yes the additinal code may be hidden from us, but because of that fact we can develop faster and reduce development costs for clients. That said I still think it's good to know a few langauges and that's why I'm starting on ASP.NET, Java, and a smidge of PHP to round it outgeesh I sound like a geek don't I ;-) Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Matt Liotta [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, August 26, 2002 1:47 PM Subject: RE: CF vs. ASP Oh please! You're comparing apples to oranges. Just because all of the cfmail code is hidden from you; it doesn't mean it isn't there. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ V: 415-577-8070 F: 415-341-8906 P: [EMAIL PROTECTED] -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 1:35 PM To: CF-Talk Subject: RE: CF vs. ASP CASE IN POINT TOO MANY LINES/CHARACTERS OF BS VBSHIT CODE Dim MyMail Dim MsgText Set MsgText = Request.Form(FirstName) + + Request.Form(LastName) + has requested more information. Set MsgText = MsgText + Please contact them at + Request.Form(Phone) Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form(FirstName) + VBCrLf Set MsgText = MsgText + Request.Form(LastName) + VBCrLf Set MsgText = MsgText + Request.Form(Addr1) + VBCrLf Set MsgText = MsgText + Request.Form(Addr2) + VBCrLf Set MsgText = MsgText + Request.Form(City) + VBCrLf Set MsgText = MsgText + Request.Form(State) + VBCrLf Set MsgText = MsgText + Request.Form(ZIP) + VBCrLf Set MsgText = MsgText + Request.Form(Email) + VBCrLf Set MsgText = MsgText + Request.Form(Phone) + VBCrLf Set MsgText = MsgText + Request.Form(Comments) + VBCrLf Set MsgText = MsgText + Request.Form(NoMkt) + VBCrLf Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing !END CASE IN POINT! Compared to this.. cfmail to= from= server= subject=some stuff here./cfmail there is no comparison, the only thing we need to do with asp is Port it to CFML so that our clients get what they deserve! ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:11 PM To: CF-Talk Subject: RE: CF vs. ASP As long as the price is right... :) Thanks -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:56 PM To: CF-Talk Subject: Re: CF vs. ASP Use the right tool for the job. And if you have
Re: CF vs. ASP
On Tuesday, August 27, 2002, at 09:11 , Matthew R. Small wrote: Intranets are one thing I can think of. I have an intranet here that I wrote last year using CF - because I am most experienced at CF. However, I believe that had I written it in ASP, I would have not encountered the numerous problems and trials that using COM through CF gives us. I have actually written one page in CF that calls an ASP page because ASP does the job quicker and easier. But COM has nothing to do with Intranet. CF is a great tool for writing Intranets (we're in the process of converting our legacy ASP-based Intranet to CF). I agree that if your web application is heavily dependent on COM then you need to think carefully about CF because of issues with COM (historically and currently). If your web application doesn't need COM - and a lot do not - then CF is a very good tool that doesn't need to be restricted to small-medium sized sites. After all, we're rewriting macromedia.com using CFMX and we get about 6m age views a day. Remember: using the best tool for the tool is not about picking just one technology and using it for the whole job, it's about picking the right tool for each part of the job and integrating the whole (with the caveat that the integration effort may be sufficiently high that the second best tool for one job might mean less integration - and therefore be a better choice). CFMX is very good at integration - lots of high-level tags to access other systems as well as Java integration - so the price of using using CF is low from an integration p.o.v. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Well, just to put your comments in perspective, let me ask a question: Did you research other technologies to see if there was one better suited to the need of your intranet? Matthew Small IT Supervisor Showstopper National Dance Competitions 3660 Old Kings Hwy Murrells Inlet, SC 29576 843-357-1847 http://www.showstopperonline.com -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 1:21 PM To: CF-Talk Subject: Re: CF vs. ASP On Tuesday, August 27, 2002, at 09:11 , Matthew R. Small wrote: Intranets are one thing I can think of. I have an intranet here that I wrote last year using CF - because I am most experienced at CF. However, I believe that had I written it in ASP, I would have not encountered the numerous problems and trials that using COM through CF gives us. I have actually written one page in CF that calls an ASP page because ASP does the job quicker and easier. But COM has nothing to do with Intranet. CF is a great tool for writing Intranets (we're in the process of converting our legacy ASP-based Intranet to CF). I agree that if your web application is heavily dependent on COM then you need to think carefully about CF because of issues with COM (historically and currently). If your web application doesn't need COM - and a lot do not - then CF is a very good tool that doesn't need to be restricted to small-medium sized sites. After all, we're rewriting macromedia.com using CFMX and we get about 6m age views a day. Remember: using the best tool for the tool is not about picking just one technology and using it for the whole job, it's about picking the right tool for each part of the job and integrating the whole (with the caveat that the integration effort may be sufficiently high that the second best tool for one job might mean less integration - and therefore be a better choice). CFMX is very good at integration - lots of high-level tags to access other systems as well as Java integration - so the price of using using CF is low from an integration p.o.v. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
On Tuesday, August 27, 2002, at 11:25 , Matthew R. Small wrote: Well, just to put your comments in perspective, let me ask a question: Did you research other technologies to see if there was one better suited to the need of your intranet? Yes, we already use BroadVision, Perl CGI, ASP... we compared those to CF for our new intranet and chose CF. Admittedly, the fact that we *make* CF was also a factor... :) That said, CF - and the skills needed for it - is a much more cost-effective approach for us. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF vs. ASP
Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Use the right tool for the job. And if you have to ask if you should keep all your eggs in one basket then I have a bridge I'd like to sell you. On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
as much as we all love CF, it is NEVER a good idea to put all your eggs in one basket. let me repeat that for emphasis. IT IS NEVER A GOOD IDEA TO KEEP ALL YOUR EGGS IN ONE BASKET. in my own experience, companies are more likely to be in favor of someone with one or two specialties, but with a smattering of other things the candidat is good at, but not expert. as a former hirer myself, it says to me that the person is not a all problems are nails person, and is willing to look at the best way to get the job done, rather than the best way to use the one thing i know to do the job. there are light years of difference between the two. chris olive -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 3:44 PM To: CF-Talk Subject: CF vs. ASP Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Sooner or later you, as a web developer, will run into a situation where CF is not an option (client choice, server restrictions, etc.). When this happens, if you haven't learned ASP/VBScript, or some other suitable technology, then you probably won't be able to work on the project. With ASP available on every IIS server for free (ignoring hosting costs for now), a lot of clients, especially small businesses, will resist CF or PHP even. In these cases, you have to know ASP. Btw, there's nothing saying you HAVE to do VBScript for ASP pages - you can use JScript as well, which is basically Javascript. My thoughts not yours Shawn Grover On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
My .02 is: If you 'put all your eggs in one basket' you lock yourself out of another potentially rewarding market: the website/application UPGRADE. People may have existing sites in .asp, .php, etc that are perfectly usable and functional... and they want to add functionality. If you only know CF, you may be limiting yourself quite a lot. -- Jillian On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
As long as the price is right... :) Thanks -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:56 PM To: CF-Talk Subject: Re: CF vs. ASP Use the right tool for the job. And if you have to ask if you should keep all your eggs in one basket then I have a bridge I'd like to sell you. On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Keeping in mind the movements toward J2EE in the recent CF release, I would recommend looking into the Java/JSP world. It will help you with your future CF work, but also open a world of possibilities outside CF as well. Also you can run Java/JSP for free. I recently did it on a huge production site (Red Hat, Resin, PostgreSQL) [yes I said production, as in live, on Resin. It worked very well]. My 2 cents. -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 12:44 PM To: CF-Talk Subject: CF vs. ASP Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
I have found myself doing projects in VB, VBScript, ASP, Cold Fusion, PHP, Perl etc... It doesn't hurt to know. It came in handy for me. Some I learned while using them :) Shawn Regan pacifictechnologysolutions 15530-B Rockfield Blvd. Suite 4 Irvine, CA 92618 949.830.1623 w w w . p t s 1 . c o m -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 12:44 PM To: CF-Talk Subject: CF vs. ASP Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Being that I'm finally going to learn some ASP and PHP, I have a quick question regarding ASP and ASP.NET. I have taken a quick look at ASP 2 or 3 (can't remember which) which was long enough to know that it was never going to be a favourite like CF. My question is what is the difference (language wise) between ASP 3 and ASP.NET? I know ASP 3 was all VB or JScript, but what's different in .NET (that may require abig response but I'm just looking for general stuff)? I guess in short...should I learn ASP 3 or ASP.NET or both? TIA Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com.cfm?sidebar=lists __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Just another tidbit as well. Don't go for ASP 3.0 look into the whole .NET architecture. Yes, I love my CF but variety is the spice of life. Not too mention that ASP support is going to dwindle with the whole .NET (ASP included) push. Big T -Original Message- From: Jillian Carroll [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:15 PM To: CF-Talk Subject: RE: CF vs. ASP My .02 is: If you 'put all your eggs in one basket' you lock yourself out of another potentially rewarding market: the website/application UPGRADE. People may have existing sites in .asp, .php, etc that are perfectly usable and functional... and they want to add functionality. If you only know CF, you may be limiting yourself quite a lot. -- Jillian On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
CASE IN POINT TOO MANY LINES/CHARACTERS OF BS VBSHIT CODE Dim MyMail Dim MsgText Set MsgText = Request.Form(FirstName) + + Request.Form(LastName) + has requested more information. Set MsgText = MsgText + Please contact them at + Request.Form(Phone) Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form(FirstName) + VBCrLf Set MsgText = MsgText + Request.Form(LastName) + VBCrLf Set MsgText = MsgText + Request.Form(Addr1) + VBCrLf Set MsgText = MsgText + Request.Form(Addr2) + VBCrLf Set MsgText = MsgText + Request.Form(City) + VBCrLf Set MsgText = MsgText + Request.Form(State) + VBCrLf Set MsgText = MsgText + Request.Form(ZIP) + VBCrLf Set MsgText = MsgText + Request.Form(Email) + VBCrLf Set MsgText = MsgText + Request.Form(Phone) + VBCrLf Set MsgText = MsgText + Request.Form(Comments) + VBCrLf Set MsgText = MsgText + Request.Form(NoMkt) + VBCrLf Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing !END CASE IN POINT! Compared to this.. cfmail to= from= server= subject=some stuff here./cfmail there is no comparison, the only thing we need to do with asp is Port it to CFML so that our clients get what they deserve! ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:11 PM To: CF-Talk Subject: RE: CF vs. ASP As long as the price is right... :) Thanks -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:56 PM To: CF-Talk Subject: Re: CF vs. ASP Use the right tool for the job. And if you have to ask if you should keep all your eggs in one basket then I have a bridge I'd like to sell you. On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Yeah but unless you're hosting it for them, they will have to pay an additional amount of money to buy CF Server to run that easier code. While certain things like that are much easier to code in CF, if you're trying to get a customer and it's a big site, $500 could be the difference between you getting a job or a competitor. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:35 PM To: CF-Talk Subject: RE: CF vs. ASP CASE IN POINT TOO MANY LINES/CHARACTERS OF BS VBSHIT CODE Dim MyMail Dim MsgText Set MsgText = Request.Form(FirstName) + + Request.Form(LastName) + has requested more information. Set MsgText = MsgText + Please contact them at + Request.Form(Phone) Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form(FirstName) + VBCrLf Set MsgText = MsgText + Request.Form(LastName) + VBCrLf Set MsgText = MsgText + Request.Form(Addr1) + VBCrLf Set MsgText = MsgText + Request.Form(Addr2) + VBCrLf Set MsgText = MsgText + Request.Form(City) + VBCrLf Set MsgText = MsgText + Request.Form(State) + VBCrLf Set MsgText = MsgText + Request.Form(ZIP) + VBCrLf Set MsgText = MsgText + Request.Form(Email) + VBCrLf Set MsgText = MsgText + Request.Form(Phone) + VBCrLf Set MsgText = MsgText + Request.Form(Comments) + VBCrLf Set MsgText = MsgText + Request.Form(NoMkt) + VBCrLf Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing !END CASE IN POINT! Compared to this.. cfmail to= from= server= subject=some stuff here./cfmail there is no comparison, the only thing we need to do with asp is Port it to CFML so that our clients get what they deserve! .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:11 PM To: CF-Talk Subject: RE: CF vs. ASP As long as the price is right... :) Thanks -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:56 PM To: CF-Talk Subject: Re: CF vs. ASP Use the right tool for the job. And if you have to ask if you should keep all your eggs in one basket then I have a bridge I'd like to sell you. On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CF vs. ASP
Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? Personally I would focus lesson ASP/VBScript than on PHP, XML, J2EE and possibly .NET which Microsoft obviously wants you to use with ASP but I hear can also be used with CF. I heard mentioned not too long ago that PHP recently superceded ASP as the most widely implemented scripting language on the web ( although I can't quote source or confirm the rumor )... And of course, there are similar rumors about the advancement and longevity of XML, J2EE and to some extent .NET (though I'm apt to think a lot of the hype for the last one is due in large part to the marketing power$ of Micro$oft -- not that I think most of the hype over PHP has much to do with anything other than it's being free, which was one of the big reasons ASP had such a foothold for such a long time, because it was preinstalled on an OS people were already buying). I haven't really heard anyone in a long while say Man, you've got to get into ASP, it's where the future is ... hth Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CF vs. ASP
Oh please! You're comparing apples to oranges. Just because all of the cfmail code is hidden from you; it doesn't mean it isn't there. Matt Liotta President CEO Montara Software, Inc. http://www.montarasoftware.com/ V: 415-577-8070 F: 415-341-8906 P: [EMAIL PROTECTED] -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 1:35 PM To: CF-Talk Subject: RE: CF vs. ASP CASE IN POINT TOO MANY LINES/CHARACTERS OF BS VBSHIT CODE Dim MyMail Dim MsgText Set MsgText = Request.Form(FirstName) + + Request.Form(LastName) + has requested more information. Set MsgText = MsgText + Please contact them at + Request.Form(Phone) Set MsgText = MsgText + VBCrLf Set MsgText = MsgText + Request.Form(FirstName) + VBCrLf Set MsgText = MsgText + Request.Form(LastName) + VBCrLf Set MsgText = MsgText + Request.Form(Addr1) + VBCrLf Set MsgText = MsgText + Request.Form(Addr2) + VBCrLf Set MsgText = MsgText + Request.Form(City) + VBCrLf Set MsgText = MsgText + Request.Form(State) + VBCrLf Set MsgText = MsgText + Request.Form(ZIP) + VBCrLf Set MsgText = MsgText + Request.Form(Email) + VBCrLf Set MsgText = MsgText + Request.Form(Phone) + VBCrLf Set MsgText = MsgText + Request.Form(Comments) + VBCrLf Set MsgText = MsgText + Request.Form(NoMkt) + VBCrLf Set MyMail = CreateObject(CDONTS.NewMail) MyMail.From = [EMAIL PROTECTED] MyMail.To = [EMAIL PROTECTED] MyMail.Subject = Information Request MyMail.BodyFormat = 1 'plain text MyMail.MailFormat = 1 'plain text MyMail.Body = MsgText MyMail.Send Set MyMail = Nothing !END CASE IN POINT! Compared to this.. cfmail to= from= server= subject=some stuff here./cfmail there is no comparison, the only thing we need to do with asp is Port it to CFML so that our clients get what they deserve! ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Perez, Jimmy [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 4:11 PM To: CF-Talk Subject: RE: CF vs. ASP As long as the price is right... :) Thanks -Original Message- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:56 PM To: CF-Talk Subject: Re: CF vs. ASP Use the right tool for the job. And if you have to ask if you should keep all your eggs in one basket then I have a bridge I'd like to sell you. On Mon, 26 Aug 2002, Perez, Jimmy wrote: Hello all, I am a CF certified developer (missed advanced by three points) but am thinking of expanding my horizons/marketability. I have started getting up to speed in ASP/VBScript but the question keeps coming up: should I even spend any time doing this or should I just concentrate on CF? The more e-mails I read in this list, the more I realize how powerful CF is, but should I keep all my eggs in one basket so to speak? Any good advice? TIA Jimmy __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists