Re: CF 'e-commerce' product catalogue

2010-10-26 Thread Andrew Spear

Jonah-
I'm interested to check our your product when it's release.  Is there a way to 
be notified?

Andrew

I don't know any free ones. We're about to release a new CF based 
ecommerce engine in the next few weeks though.

Thanks,
.jonah

On 10/25/10 11:37 AM, Stephane Vantroyen wrote:
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338544
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Shopping carts

2010-06-26 Thread Andrew Spear

Jonah-
Your cart looks great.  You really need to come to market with it, because as 
mentioned, CF is severely lacking in this space.  My company has focused on 
ecomm over he last couple of years, but unfortunately we haven't been able to 
use any CF products (we are a CF shop mostly), because they just aren't that 
good.  Customer timelines prevented us from developing our own, so we've been 
implementing very large-scale Java products.  I'd love to be able to offer a CF 
product to some of our smaller clients.  And those who complain about a $200 
price tag probably aren't servicing clients with many needs.  The java product 
we've been implementing sells for an insane amount.  

 Eric,
 
 Thanks for asking. It's as customizable as you want it to be really. 
 Coming into your store.item view for example you get an Item bean. 
 From there it's goes from simply #item.getName()# to pulling the 
 arrays of properties (color/size/etc.) and iterating over them to 
 create drop downs, or fancier html like this site for display. We 
 typically start from a set of reference views and customize as much or 
 as little as needed for the site design and products.
 
 Here's an example of a fairly different product view: http://www.
 happycanyonvineyard.com/event/wines/
 
 Cheers,
.
 jonah 
 
 How customizable is the interface?
 
 @Kevin,
 
 I feel that this is one area that is completely overlooked in the 
 CF
 world--
 Especially since OO was introduced to CF in MX.
 
 So true.
 
 When I was looking for a ecommerce solution several years ago, I 
 evaluated
 all the current offerings and joined the CFCommerce google group, etc.
 
 
 I wasn't finding anything remotely like what I needed, so wrote a 
 solution.
 I'm now at the point of opening it up for others to use and am 
 evaluating
 business model and licensing options.
 
 (Here's a live example: https://store.apolisactivism.com/)
 
 If you'd like to talk more here or offline let me know.
 
 Cheers,
 .jonah 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF Shopping carts

2010-06-26 Thread Andrew Spear

No...my client has been with them for a while.  I used to host with them and
they are pretty good as far as hosts go...it's just that he is on a shared
server.  I left when they tried to tack on a 20/site charge for CF7 when it
came out.

Eric,

Take a look at this site: https://store.apolisactivism.com/ 

It's running a ecommerce engine I wrote - it's live on some other sites now
and am just getting ready to roll it out publicly. Let me know if it might
fit your needs.

That list of restrictions your host puts on ColdFusion seems pretty harsh,
is moving hosts a possibility?

Cheers,
.jonah 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334869
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Signature Capture

2008-03-03 Thread Andrew Spear
I did this about 6-7 years ago using Flash.  I grabbed one of the many drawing 
examples out there.  I grabbed the coord's and saved them in a database.  
Worked pretty well for me.


 Has anyone come up with any good solutions that would let you embed a 
 signature capture field in a form?  This is for ColdFusion 8.  The 
 widget would appear at the bottom of a form contract and the hope 
 would be that after the form was submitted it could be saved to  a 
 file on the server or made a part of a pdf.   There is also talk of 
 using something like this to draw basic diagrams to attach to a 
 contact's record.
 
 
 Thanks for any ideas on this.
 
   
 
 -
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  
 Try it now.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: Shopping Cart Recommendation?

2008-01-07 Thread Andrew Spear
I second SiteDirector.  I've used it quite a bit over the last 8 years or so

 Check out SiteDirector by QuillDesign (www.quilldesign.com).  I've 
 used it several times and found it to be a nice commerce system. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: Deleting multi-value attributes with CFLDAP

2007-07-17 Thread Andrew Spear
Thanks M!ke!
CFLDAP was tripping up on the commas in the value of my attributes parameter. 
You sent me down the right track, and I found that the separator parameter 
was defaulting to , which was matching the commas in my DN string. 

Did you try specifying the DELIMITER in your CFLDAP tag?  I think your
commas are causing the error.

Try using DELIMITER=| in your CFLDAP tag to have AD consider the
commas to be part of the value.

M!ke

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

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


Deleting multi-value attributes with CFLDAP

2007-07-16 Thread Andrew Spear
I'm trying to delete a user from an Active Directory group using CFLDAP.  The 
problem is that it seems you can't specify a name-value pair when the 
ModifyType parameter is set to delete.  I need to do this because the LDAP 
field is multi-valued.  I noticed that you can do this when ModifyType is set 
to add or replace.  Here's a snippet of what I need to do:

dn = cn=MyGroup,ou=Groups,dc=CompanyA,dc=com
action = modify
modifyType = delete
attributes = member=cn=Doe, John,ou=Users,dc=CompanyA,dc=com

This will generate an LDAP Error Code 34 along with the ColdFusion error.

Any ideas would be appreciated.  Thanks

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: mass emailing from CF

2006-09-05 Thread Andrew Spear
Why would you need to create all those cfschedules?  Just have one schedule run 
and check for unsent mail.  When your recordcount is down to zero, just delete 
the cfschedule.   Or you can just let it run as there is minimal impact on 
checking a page that contains a query that doesn't return any records.

...
 As for deciding how many cfscchedules to make, that would be some 
 pretty
 basic math. 
 
 Something like this should do the trick...
 
 cfset totalEmails = 10001 /
 cfset emailsPerBatch = 1000 /
 cfset totalBatches = round(totalEmails / emailsPerBatch) /
 
 cfif totalEmails MOD emailsPerBatch neq 0
   cfset totalBatches = totalBatches + 1 /
 /cfif
 
 Without testing... that SHOULD spit back 11
 
.
 or just add the stragglers to the last batch.
 
 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Not receiving HOF Digest

2006-08-10 Thread Andrew Spear
I haven't been receiving my digest's for about a week and half now.

 I'm experiencing problems receiving email from the list.  I was 
 getting them fine for while and all of the sudden it just stop.  I 
 entered another another email address and made it the primary but no 
 success.
 
 Is anyone else experiencing this problem?  Who can help at 
HOF?

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: execute a DTS package via Stored Proc?

2006-07-25 Thread Andrew Spear
Ravo's example works, I've been using that method for quite awhile now with no 
problems.  One thing to note, I couldn't get this working until I set up a 
Non-SysAdmin job step proxy account.  You can do this by selecting the 
properties of the SQL Server Agent then choosing the Job System tab.  You 
have to un-select the Only users with SysAdmin privelages can execute CmdExec 
and ActiveScripting job steps and then enter an account.  Do some Googling on 
this though, as it can be a security risk in some envrionments.

Cool...I'll check yours out first.

Now, of course, I'm off to fight fires that always pop up at the worst 
possible times.  Grrr...

Snake wrote:


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247638
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Parsing non-standard XML

2006-05-08 Thread Andrew Spear
I'm trying to parse a file for a school district that is supposed to be XML, 
but it's not well-formed.  Does anyone here have experience parsing files like 
this?  The format is something like this:

BasmatiL
CLASS
CC xxx /CC
SN xxx /SN
CNAME  /CNAME
MISC1  /MISC1
/CLASS
ASSIGN
DESCR Chapter 34 Reading Quiz /DESCR
POINTS 5 /POINTS
EALR  /EALR
/ASSIGN
STUDENT
ID asdfasdf /ID
SCORES 6,5,14,38,5,5,15,38,5 /SCORES
PERCENT 89.9 /PERCENT
GRADE B+ /GRADE
/STUDENT
STUDENT
ID 12345 /ID
SCORES 7,5,14,47,6,5,15,40,5 /SCORES
PERCENT 98.6 /PERCENT
GRADE A+ /GRADE
/STUDENT
/BasmatiL

And there are muliple top-level BasmatiL nodes in each file.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239874
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: Parsing non-standard XML

2006-05-08 Thread Andrew Spear
Great idea Mike! Turned out to be a pretty elegant solution. Here's what I did 
to make it work...

cfset Parsed = XMLParse(myxml#myxml#/myxml)

cfloop index=ii from=1 to=#ArrayLen(Parsed.myxml.xmlchildren)#
cfdump var=#Parsed.myxml.basmatiL[ii]#p/p
/cfloop

According to XMLSpy, this is a well-formed document until you add
multiple BasmatiL nodes.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239876
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: Homesite+ (Browse) and IE7

2006-04-25 Thread Andrew Spear
Works for me using HomeSite+ 5.5 and IE7 Beta 2.


Anyone else unable to Browse within Homesite+ post-install of IE7

thanks.
tony

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238589
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


Get path of page calling cfinvoke?

2005-11-28 Thread Andrew Spear
Is it possible for a CFC to determine the path of the physical template that is 
cfinvoking it?  I'm trying to have a base CFC determine what file is extending 
it.  Any ideas?

Thanks-
Andrew

~|
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:225470
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


Using .NET to pass struct to CF webservice

2005-05-10 Thread Andrew Spear
Sorry for this being slightly OT.  Does anyone know how to pass a struct into a 
CF webservice using C#. My .NET code can successfully call the CF webservice 
when using simple datatypes, but I'm not sure how to go about passing in a 
struct. Or is this even possible?

Thanks-
Andrew

~|
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:206226
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: Multiple http calls not working

2004-12-06 Thread Andrew Spear
That did it!  You're the man Nathan.

Thanks-
Andrew

Yes, cflooping around a cfhttp does cause problems. I believe this is a 
known problem, and may still be a problem in CFMX 6.1. The best way 
around it is to put your cfhttp call in a cffunction, then call that 
function from within your loop. It makes no sense why that works better, 
but it will fix it.

-nathan strutz
http://www.dopefly.com/


Andrew Spear wrote:


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186308
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


Multiple http calls not working

2004-12-03 Thread Andrew Spear
I have some code that basically loops over some content and on each iteration 
finds an image tag and then makes a CFHTTP call to download that image.  The 
problem is that only the first CFHTTP call in the loop successfully downloads 
an image.  Are there any known issues with making mulitple CFHTTP calls in a 
row?  I'm on MX 6.1 and can post the code if needed.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186172
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: Multiple http calls not working

2004-12-03 Thread Andrew Spear
I forgot to mention that the subsequent CFHTTP calls don't error out, they just 
don't download the image.

 I have some code that basically loops over some content and on each 
 iteration finds an image tag and then makes a CFHTTP call to download 
 that image.  The problem is that only the first CFHTTP call in the 
 loop successfully downloads an image.  Are there any known issues with 
 making mulitple CFHTTP calls in a row?  I'm on MX 6.1 and can post the 
 code if needed.

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186175
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: Multiple http calls not working

2004-12-03 Thread Andrew Spear
That's what I'm doing.  I've even taken the image path that is cfoutputed and 
hardcoded it in the CFHTTP to make sure the path was ok - and it downloads 
fine.  I might as well post the code.  You'll just have to change the URL param 
in the first CFHTTP call and the SaveToDir var.

cfhttp url=http://inside.boeing.com; method=GET resolveurl=Yes /
cfset SaveToDir = D:\internet\wwwroot\cf\images\
cfset Page = cfhttp.filecontent
cfset NewPage = Page
CFSET CRLF = Chr(13)  Chr(10) 

CFLOOP LIST=#Page# DELIMITERS=#CRLF# INDEX=TheLine
cfset Search = 1
cfset LinNum = 1  

cfloop condition=Search EQ 1
cfset ImgPos = 
REFindNoCase(img[^]+,TheLine,LinNum,true)
cfif ImgPos.Pos[1] GT 0
cfscript
ImgTag  = 
Mid(TheLine,ImgPos.Pos[1],ImgPos.Len[1]);
ImgSource   = REFindNoCase(src[ ]?=[ 
]?([\']([^\']+)[\']|([^\s])),ImgTag,1,true);
ImgSource   = 
Mid(ImgTag,ImgSource.Pos[3],ImgSource.Len[3]);
ImgSource   = 
ReplaceNoCase(ImgSource,'../','','all');  
/cfscript
cftry
cfoutput#ImgSource#/cfoutputbr
cfhttp url=#ImgSource# method=GET 
path=#SaveToDir# throwonerror=yes
cfset NewPage = 
ReplaceNoCase(NewPage,ImgSource,http://localhost/cf/images/#ListLast(ImgSource,/)#,all)
cfcatchError/cfcatch
/cftry
cfset LinNum = ImgPos.Pos[1] + ImgPos.Len[1]
cfelse
cfset Search = 0
/cfif
/cfloop

/CFLOOP

cffile action=WRITE file=#SaveToDir#\index.html output=#NewPage# 
addnewline=Yes



Are you sure they're running?  What if you put a CFOUTPUT before each
CFHTTP that lists the image that it's about to download?

cheers,
barneyb

On Fri, 03 Dec 2004 16:34:26 -0400, Andrew Spear
[EMAIL PROTECTED] wrote:
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186178
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: Multiple http calls not working

2004-12-03 Thread Andrew Spear
That's what I'm doing.  I've even taken the image path that is cfoutputed and 
hardcoded it in the CFHTTP to make sure the path was ok - and it downloads 
fine.  I might as well post the code.  You'll just have to change the URL param 
in the first CFHTTP call and the SaveToDir var.

cfhttp url=http://; method=GET resolveurl=Yes /
cfset SaveToDir = D:\internet\wwwroot\cf\images\
cfset Page = cfhttp.filecontent
cfset NewPage = Page
CFSET CRLF = Chr(13)  Chr(10) 

CFLOOP LIST=#Page# DELIMITERS=#CRLF# INDEX=TheLine
cfset Search = 1
cfset LinNum = 1  

cfloop condition=Search EQ 1
cfset ImgPos = 
REFindNoCase(img[^]+,TheLine,LinNum,true)
cfif ImgPos.Pos[1] GT 0
cfscript
ImgTag  = 
Mid(TheLine,ImgPos.Pos[1],ImgPos.Len[1]);
ImgSource   = REFindNoCase(src[ ]?=[ 
]?([\']([^\']+)[\']|([^\s])),ImgTag,1,true);
ImgSource   = 
Mid(ImgTag,ImgSource.Pos[3],ImgSource.Len[3]);
ImgSource   = 
ReplaceNoCase(ImgSource,'../','','all');  
/cfscript
cftry
cfoutput#ImgSource#/cfoutputbr
cfhttp url=#ImgSource# method=GET 
path=#SaveToDir# throwonerror=yes
cfset NewPage = 
ReplaceNoCase(NewPage,ImgSource,http://localhost/cf/images/#ListLast(ImgSource,/)#,all)
cfcatchError/cfcatch
/cftry
cfset LinNum = ImgPos.Pos[1] + ImgPos.Len[1]
cfelse
cfset Search = 0
/cfif
/cfloop

/CFLOOP

cffile action=WRITE file=#SaveToDir#\index.html output=#NewPage# 
addnewline=Yes



Are you sure they're running?  What if you put a CFOUTPUT before each
CFHTTP that lists the image that it's about to download?

cheers,
barneyb

On Fri, 03 Dec 2004 16:34:26 -0400, Andrew Spear
[EMAIL PROTECTED] wrote:
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186179
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: Seaching for the coolest dhtml meu

2004-07-30 Thread Andrew Spear
Rob-
I've been looking for a brand new car that blows my socks off, and oh yeah, it has to be free. ;-)I know you said free, but SoThink has a great menu generator that I personally love.It's only $35 and you can use it on as many sites as you wish too.

http://www.sothink.com/webtools/dhtmlmenu/index.htm

Andrew

I am trying to find a cool dhtml navigation menu - something really
original - but I can't seem to find anything that is blowing my socks
off. I've looked on dynamic drive and they have some pretty good ones,
but not quite what I am looking for. I'll get to writing my own if I
can't find anything cool, but this list has always provided amazing
links to stuff.

I already tied googles first couple pages of dhtml menus

I don't want a dhtml menu builder program, and it has to be free
(cost and license) - (no flash or java menus either (_javascript_ ok and
encouraged)).

any suggestions?

Thanks for any help.

Rob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Seaching for the coolest dhtml meu

2004-07-30 Thread Andrew Spear
Matt-
I think you are incorrect about the license for SoThink.It clearly states for the $35 designer license:
...The menus generated by this SOFTWARE can be used with an unlimited number of web sites, provided they are developed solely by the licensed developers...

The $1498 world license is to integrate the actual Software (which is the program that generates the menus) into your own program.But the menus you can use all day long on as many sites as you wish.And the $35 license even entitles you to load the program on a second computer.

Andrew

SoThink wants US$1498 for a 'world' license, and they still want to
put restrictions on it.

--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Send Fax through Internet

2004-07-21 Thread Andrew Spear
I've been using ProtoFax for about 3 years and it works great.We send out a bunch of faxes every day and it's held up nicely.The best part is that it will take HTML and convert it to a fax.So you can basically just do a CFSaveContent around some HTML/CF code and save the file to the ProtoFax drop folder, and presto the file is fax offed.You have to add some header info in the file (fax number, subject) though.I have a custom tag that does all this if you're interested.

Best Regards-
Andrew

http://www.protofax.com/

We never needed it, but it came with AbleCommerce.There's a licensing 
fee, but it has a custom tag to connect it to your CF apps.

--Jeff
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Ecommerce site work...

2004-07-21 Thread Andrew Spear
I second the vote for SiteDirector (http://www.quilldesign.com).Used it for several sites.Cheap and effective.

Andrew

Hello,
 
I am not sure if there was a mail alias at HOFto direct this to.So please
don't be peeved, maybe you can direct me to some good sites? Is there a
place anyone knows of where I can find a (mostly) pre-made eCommerce
web-site for sale? I need a login, shopping cart, dynamic database,
automated emails for certain things,etc... and a few other items.
I would like to just use something pretty much pre-made and just change my
colors, headmast graphics,etc... and be done with it.
Even if it was not a site for CF would be ok like php/mysql or whatever...
I can tweak some of the code for my emails,etc... but I cannot build the
whole thing on my own.
I did find one such site but if I ever go to a different hosting company I
can only take my database with me , not the site.

~/Wayne
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




CF_AveryRTF

2004-06-30 Thread Andrew Spear
I'm coming in a bit late to this, but have you tried CF_AveryRTF?It generates an RTF (Rich Text Format) file that opens in Word.I've been using it for years and it works great.Supports something like 50 different avery labels plus USPS barcodes.Other features as well.At the very least you can look at the RTF code it generates and adapt it to your needs.It's in the Exchange at the MM site.

Good Luck-
Andrew
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Upload a file using Java in CF

2004-06-18 Thread Andrew Spear
Well, here's my situation.We have a sandbox for some developers who need cffile, but we (the admins) have a requirement to log all file activity.The solution is to create a custom tag that contains the cffile functionality plus contains a logging facility so we can track what they are doing.Now, it would be perfect if I could just wrap up cffile in my own custom tag, but the sandbox security still recognizes that cffile is be run and shuts us down.So I figured I would need to use Java.If anyone has any ideas on how to get cffile to run in a custom tag within a sandbox that has cffile disabled, I would appreciate them.CF 5 used to have an unrestricted tag folder, but it doesn't look like MX does.Oh well.

Thanks-
Andrew
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Upload a file using Java in CF

2004-06-17 Thread Andrew Spear
Sorry if this is a bit OT.I have a file upload form that posts to the code below.The code takes the uploaded file and writes it to the server.The only problem is that it only works with text files.It will write any file, but types like Word docs won't open.I'm pretty sure the problem is that I'm using the FileReader/FileWriter classes, which only work for character files.I think I should be using the InputStreamReader/InputStreamWriter classes, but I'm pretty clueless as to where to start. And just so I don't get accused of plagiarism, I modified this code from someones blog (I forget who though).

cfscript
s = ;
cls = s.getClass();

stringClass = cls.forName(java.lang.String);

fileReaderClass = cls.forName(java.io.FileReader);
	fileWriterClass = cls.forName(java.io.FileWriter);

a = arrayNew(1);
a[1] = stringClass;
	
b = arrayNew(1);
b[1] = stringClass;

fileReaderConst = fileReaderClass.getConstructor(a);
	fileWriterConst = fileWriterClass.getConstructor(b);

a[1] = form.upFile;
	b[1] = form.path;

fileReader = fileReaderConst.newInstance(a);
	fileWriter = fileWriterConst.newInstance(b);

readerClass = cls.forName(java.io.Reader);
a[1] = readerClass;

bufferedReaderClass = cls.forName(java.io.BufferedReader);
bufferedReaderConst = bufferedReaderClass.getConstructor(a);

a[1] = fileReader;
bufferedReader = bufferedReaderConst.newInstance(a);
	
try {
 do {
s = bufferedReader.readLine();
			fileWriter.write(s);
} while (true);
 } catch (coldfusion.runtime.UndefinedVariableException e) {
 // this indicates end of file, ok to ignore error
 }

	fileWriter.close();
/cfscript
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Upload a file via a webservice?

2004-06-14 Thread Andrew Spear
Does anyone know if it is possible to upload a file in CFMX via a webservice (also CFMX)?I've Googled it and it sounds possible, but I haven't seen any examples.

Best Regards-
Andrew
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Microsoft acknowledges CF!

2004-05-07 Thread Andrew Spear
I thought some of you might find this interesting.

http://msdn.microsoft.com/library/default.asp?url="">

Andrew
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Can't rename a CF log file

2004-03-24 Thread Andrew Spear
I'm trying to create a daily archive of all my CF logs. All that I really need to do is rename the current log files and then let CF recreate them the next time it tries to write.I was trying to use CFFile to do this via a scheduled event, but it seems that CF locks the log file.I can't even manually rename them via windows explorer.Does anyone know of a way that I could unlock the file via CF so that I can rename it? Maybe something in Java could help? I'm running MX 6.1.

Thanks-
Andrew
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Can't rename a CF log file

2004-03-24 Thread Andrew Spear
Well isn't that lovely!Thanks for the info.Do you know if this is an official bug, or should I report it?

Andrew

There is a bug in CFMX6.1 that means it doesn't release the log files
without cycling the service. Can't rename em, can't delete em just watch em
grow!
 
Paul
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFMX Sandbox multiple dirs?

2004-03-09 Thread Andrew Spear
I was wondering if anyone knew of a way that I could have multiple top-level directories under one single sandox.The issue is that I have one sandbox that needs cffile access to a directory outside of that sandbox.I didn't see an option in the admin that allows you to specify multiple directories.

Best Regards-
Andrew S.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Software Life Cycle Development Templates

2004-03-04 Thread Andrew Spear
Ian-
If you don't mind reading a bit, I recommend two great books by Steve McConnell:

1)Rapid Development
2)Software Project Survival Guide

He also has quite a bit of templates  forms on his company's website.Of course they sell a package, but quite a bit is free for the taking.

http://www.construx.com/cxone/basic/map.php

Best Regards-
Andrew

 I'm taking the opportunity to excel here at work and trying to bring 
 some order to our web application development.For the last year we 
 have been a team of two experienced CF developers, the previous year 
 there was only one.Pretty much working ad hock on projects as they 
 came along with little formal documentation.A single developer was 
 pretty much completely responsible for each project.This has worked 
 well enough for the mostly smallish projects we have done to date.
 
 Success has lead to more confidence by management and they are 
 beginning to authorize more ambitious projects that will be beyond the 
 scope of what a single developer can do in a reasonable amount of time.
 Cool stuff with 1+ man years of development.
 
 To accommodate these projects our team is expanding.We are adding 3 
 junior CF developers to the team. I believe we need to grow up and 
 become more professional.Start applying a standard, formal software 
 development process.Allowing multiple team members with different 
 skill levels to work on these large projects.
 
 What I'm looking for are Software Life Cycle documentation templates, 
 preferably free.When I've tried to Google for this stuff I only find 
 examples that somebody wants to sell me (or even more costly entire 
 consulting packages).I'm hoping some of you may have worked, or 
 better yet managed, larger teams responsible for creating ColdFusion 
 web applications and are willing and able to share some templates for 
 Requirements, Design, Detailed Design type documentation or maybe know 
 of a good resource where I might get these type of templates.
 
 Also any nice suggestions for basic information on web application 
 project management would be most appreciated.I've had overviews of 
 analysis and design in classes, read about why formal processes good 
 in many places, but this will be the first time I've ever tried to be 
 anything like a senior developer after some seven years of mostly 
 solo and duet work.
 
 scary, Scary, SCARY thought on many levels.
 
 Thanks for reading my combination plea/rant.
 Eternal thanks for any information.
 
 --
 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. 

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Pre-Written E-commerce Packages in ColdFusion

2004-02-19 Thread Andrew Spear
I second Tony's recommendation.Quilldesign's SiteDirector is very nice, especially for the price.
Plus it's open source and easy to update.I've used it on several clients and they are all happy.

Andrew S

Does anyone have any recommendations for Pre-Written E-commerce packages
using Cold Fusion?

BZaccheo
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Just slightly

2004-02-09 Thread Andrew Spear
I had to share a very impressive Flash/CF site at http://www.rr.com/flash/index.cfm.I think this is the best RIA type Flash site that I have seen.And it looks like they're using CF on the backend.This is defenitely for broadband users (Time Warner cable's RoadRunner service) so I probably wouldn't try it on a dail-up.Play around with it a little and check out the in-line video, very nice! What do you guys think...
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:How to Pass Varibles on Multipage Form?

2004-01-28 Thread Andrew Spear
Try something like this...

!--- Create hidden form fields for the Form scope ---
cfloop collection=#form# item=ii 
 cfoutputinput type=hidden name=#ii# value=#Evaluate(ii)#/cfoutput
/cfloop
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFProc vs CFQuery

2004-01-05 Thread Andrew Spear
I'm running into a weird error using CFProc and I'm clueless as to why it just stopped working.I started receiving Value can not be converted to requested type. error when running the CFProc tag.Nothing seemed to solve it until I called the same Stored Proc using CFQuery instead.I'm using MX 6.1 and SQL 2000.

Here's the stored proc

cfstoredproc procedure=pr_getApprover datasource=#g_DSN#
	cfprocresult name=getApproverqry
	cfprocparam cfsqltype=CF_SQL_INTEGER dbvarname=@WorkFlowEntryID value=7
	cfprocparam cfsqltype=CF_SQL_INTEGER dbvarname=@RequestID value=1
	cfprocparam cfsqltype=CF_SQL_INTEGER dbvarname=@ProgramID value=0
/cfstoredproc

and here's the CFQuery...

cfquery name=getApproverqry datasource=#DSN#
{call pr_getApprover(7,1,0)}
/cfquery

Seems to point to the JDBC driver and how CF calls procs using the CFProc tag.But I'm stumped...
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:CFProc vs CFQuery

2004-01-05 Thread Andrew Spear
It's really weird, but I got the CFProc to work again.I copied my proc in SQL 2000 and renamed it and then called via cfproc tag.That worked.I then called the original stored proc using the cfproc tag and it now works again.Something very weird is going on in the JDBC driver.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Hiding an Email Address from harvesters

2003-12-18 Thread Andrew Spear
There is no way a harvester to getting your email via CFMAIL as it is parsed on the server and never returned to the browser.The only way would be if they obtained access to your server and were able to look at your source code.Can you post the URL to the page that you're worried about?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Single Sign On (implemented in CF)

2003-12-11 Thread Andrew Spear
You may want to take a look at Oblix. I know it works with CF and just about any webserver...

http://www.oblix.com/index.html
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re:Card swiper interface?

2003-10-18 Thread Andrew Spear
I made an interface using _javascript_.There is no actual form field on the page, so you don't have to worry about focus.The _javascript_ on the page grabs the keystrokes, throws them in a hidden form, and then submits the form.It was used for a time clock app using a Drivers License.I don't have the code with me, but I could dig it up if you're interested.Email me off list...

Andrew ([EMAIL PROTECTED])

Hi all,

Anyone out there have any experience connecting a credit card swiper to 
a ColdFusion application? We have a POS that we built for a client. 
Right now they enter CC numbers by hand. But they're busy (that's a 
good thing) so they want to ease the process.

Ideas?

Thanks in advance,

Ian Lurie

Portent Interactive
An Internet Marketing Agency
http://www.portentinteractive.com
http://www.searchengineoptimization.cc

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF Faxing

2002-06-05 Thread Andrew Spear

If you can set up your own server, I'd go with ProtoFax.  I've been
using their server for about 2 years without any major issues.  They
just came out with a new version that has some nice features.  If you
want detials let me know.

 -Original Message-
 From: Haggerty, Mike [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, June 05, 2002 7:50 AM
 To: CF-Talk
 Subject: CF Faxing
 
 
 I am working on a solution that would allow users to receive 
 information from the Web site via Fax.
 
 Does anyone have experience integrating CF sites with Fax 
 services? Are there any providers you can recommend?
 
 Thanks,
 M
 
 
__
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: OT .exe Distribution through IIS

2002-06-05 Thread Andrew Spear

You need to turn off execute permission for that directory.  Go into
IIS, select the properties for that directory, you'll see options for
execute... 

 -Original Message-
 From: Jim Curran [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, June 05, 2002 8:32 AM
 To: CF-Talk
 Subject: OT .exe Distribution through IIS
 
 
 Hello,
 
 I'm posting an exe file (software package) to distribute, but 
 linking to it via HTTP generates a cgi error.  I know there 
 must be a simple edit in IIS to turn this to a file download 
 for the client instead of running server-side.  I deleted the 
 mime types for .exe, but that didn't work.
 
 TIA,
 
 - j
 
 -Original Message-
 From: Stephen Hait [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 05, 2002 12:24 PM
 To: CF-Talk
 Subject: RE: Session timeout and inactivity time
 
 
 Thanks for the quick response.
 
 Stephen
 
   If cfapplication specifies a sessiontimeout of 10 
 minutes, will any 
   session variables be destroyed after 10 minutes or only after 10 
   minutes of inactivity?
 
  After ten minutes of inactivity.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  voice: (202) 797-5496
  fax: (202) 797-5444
 
 
 
 
__
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 Faxing

2002-06-05 Thread Andrew Spear

I forgot to mention the main reason I use ProtoFax.  It's the only fax
server I found that renders faxes from HTML pages.  This makes it great
for CF, because all I have to do is wrap my code in a tag that generates
an .html file and then dumps it into Protofax's scanner directory that
automatically sends it out as a fax.  If anyone knows of another fax
server that can do this, please let me know.

 -Original Message-
 From: Ken Wilson [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, June 05, 2002 8:44 AM
 To: CF-Talk
 Subject: RE: CF Faxing
 
 
 RelayFax could also be an option if you want to roll your own 
 solution.
 
 http://www.deerfield.com/products/relayfax/
 
 Ken
 
 
 -Original Message-
 From: Andrew Spear [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 05, 2002 11:32 AM
 To: CF-Talk
 Subject: RE: CF Faxing
 
 
 If you can set up your own server, I'd go with ProtoFax.  
 I've been using their server for about 2 years without any 
 major issues.  They just came out with a new version that has 
 some nice features.  If you want detials let me know.
 
  -Original Message-
  From: Haggerty, Mike [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 05, 2002 7:50 AM
  To: CF-Talk
  Subject: CF Faxing
 
 
  I am working on a solution that would allow users to receive 
  information from the Web site via Fax.
 
  Does anyone have experience integrating CF sites with Fax services? 
  Are there any providers you can recommend?
 
  Thanks,
  M
 
 
 
 
__
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: Consuming a Web Service

2002-06-03 Thread Andrew Spear

I agree with Stacy.  I couldn't get Google's web service to work until I
used the cfinvokeargument tag.


 
 
 HHmmm Try sending your params using the cfinvokeargument tags.
 
 cfinvoke
   webservice = http://www.xmethods.net/sd/2001/BabelFishService.wsdl;
   method = BabelFish
   returnVariable = foo
   cfinvokeargument name=translationmode value=en_es
   cfinvokeargument name=sourcedata value=Hello world, 
 friend /cfinvoke
 
 cfoutput#foo#/cfoutput
 
 
 
 -Original Message-
 From: Frank Mamone [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, June 03, 2002 4:11 PM
 To: CF-Talk
 Subject: Consuming a Web Service
 
 Has anyone had any luck with the example for consuming web services?
 
 I'm trying this:
 
 cfinvoke
   webservice = http://www.xmethods.net/sd/2001/BabelFishService.wsdl;
   method = BabelFish
   translationmode = en_es
   sourcedata = Hello world, friend
   returnVariable = foo
 cfoutput#foo#/cfoutput
 
 
 and getting this:
 
 Could not generate stub objects for web service invocation.
 
 Name: http://www.xmethods.net/sd/2001/BabelFishService.wsdl. 
 WSDL: http://www.xmethods.net/sd/2001/BabelFishService.wsdl.
 java.net.ConnectException: Connection refused: connect It is 
 recommended that you use a web browser to retrieve and 
 examine the requested WSDL document for correctness. If the 
 requested WSDL document can't be retrieved or it is 
 dynamically generated, it is likely that the target web 
 service has programming errors.
 
 The Error Occurred in C:\Inetpub\wwwroot\Web 
 Services\test.cfm: line 14
 
 12 :   translationmode = en_es
 13 :   sourcedata = Hello world, friend
 14 :   returnVariable = foo
 15 : cfoutput#foo#/cfoutput
 16 :
 
 
 Note: I am going thru a proxy. I'm wondering if that's the 
 problem. I can connect to the URL : 
 http://www.xmethods.net/sd/2001/BabelFishServi ce.wsdl
 fine 
 thru the browser.
 
 Any help will be 
 appreciated.
 
 Frank M.
 
 
 
 
 
 
__
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: HTMLArea

2002-06-03 Thread Andrew Spear

I worked with it for awhile, but switched to EzEdit.  I found EzEdit
much easier to deploy and customize. I remember having problems setting
up HTMLArea, where I had none with EzEdit.

 -Original Message-
 From: Ian Lurie [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, June 03, 2002 1:56 PM
 To: CF-Talk
 Subject: HTMLArea
 
 
 Anyone out there worked with iautomated's HTMLAREA WYSIWYG custom tag?
 
 Any impressions? Good? Bad? Ugly?
 
 Ian
 
 Portent Interactive
 Helping clients build customer relationships on the web since 
 1995 Consulting, design, development, measurement 
http://www.portentinteractive.com 
Talk with us: http://projects.portentinteractive.com

__
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: How to Handle timed out sessions?

2002-06-03 Thread Andrew Spear

I've implemented a JS based timer into our intranet.  You shouldn't need
frames either.  I define the variable session.StartTime to whatever my
Application timeout is.  So the code below will fire a dialog box 2
minutes before a timeout.  It works for me, although some users have
told me they never see it.  Try it out and let me know...

cfif isDefined(session.StartTime)
script language=JavaScript!--
//-- Variable below defines how many seconds to wait.
var howManySeconds =
cfoutput#Replace(NumberFormat((session.StartTime-2) *
60),',','')#/cfoutput

//--This is the function that pauses, then calls our function below. 
function pause() {
   myTimer=setTimeout(whatToDo(),howManySeconds*1000)
}

//-- Let's notify the user their session is about to time-out.
function whatToDo() {
   alert (Your session is about to time-out.  Please save anything you
may be working on.)
}
//--
/script
/cfif

 -Original Message-
 From: Gyrus [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, June 03, 2002 1:59 PM
 To: CF-Talk
 Subject: Re: How to Handle timed out sessions?
 
 
 - Original Message -
 From: Chakka, Sudheer [EMAIL PROTECTED]
 How to handle the timed user's sessions without loosing the 
 data the user has entered??
 
 
 One approach I'm probably going to try out in a site I'm 
 currently building is to have a 'session timer'. The idea 
 runs like this at the
 moment:
 
 - Build the site using two frames, a thin horizontal one 
 across the top or bottom, and the rest is the site itself.
 - In the thin frame, have a JS counter counting the time down 
 from the current session timeout value (scripts like this 
 should be 2-a-penny on the web, if not piss easy to write).
 - Have a button in there that refreshes just that frame, 
 resetting the counter and of course resetting the session 
 with a request to the server (but without affecting the main 
 site frame).
 - Now say the user's been typing away without looking at the 
 timer. Maybe set it to flash on and off when it gets to the 
 last 20 seconds or so? Resurrect the BLINK tag? ;-)
 - Anyway, if the counter reaches 0, either they've ignored 
 the countdown or they've gone to do something else. The 
 counter reaching zero could bring a JS alert that tells the 
 user to make sure they've copy/pasted stuff in the current 
 form outside their browser, cos the session's timed out and 
 next time they click on anything they'll be redirected to the 
 login page and lose all their stuff. A JS alert should ensure 
 they read the warning before doing anything else.
 
 Seems like it should work nicely, but as I've said, I've not 
 got round to implementing it yet. I usually avoid frames like 
 the plague, but this will be for a CMS that's private anyway, 
 so the bookmarking problem doesn't apply. Plus, can't think 
 of another solution.
 
 Let me know if you try it!
 
 - Gyrus
 
 
 - [EMAIL PROTECTED]
 work: http://www.tengai.co.uk
 play: http://www.norlonto.net
 - PGP key available
 
 
 
__
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: How to Handle timed out sessions?

2002-06-03 Thread Andrew Spear

What if instead of calling a JS dialog, you call a pop-up page.  That
would request a page from the server, thus automatically refreshing the
session.

 -Original Message-
 From: Gyrus [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, June 03, 2002 3:06 PM
 To: CF-Talk
 Subject: Re: How to Handle timed out sessions?
 
 
 - Original Message -
 From: Andrew Spear [EMAIL PROTECTED]
 I've implemented a JS based timer into our intranet.  You 
 shouldn't need frames either.  I define the variable 
 session.StartTime to whatever my Application timeout is.
 --snip---
 
 My original idea revolve around a user being able to click a 
 button to refresh the session. It seemed to overlap with this 
 guy's problem of letting users know their session's timed out 
 if they go away and come back.
 
 Your idea would probably work fine for the second problem, 
 but I really can't think of a way to solve the first without 
 frames. You need the client to make a request to the server 
 to refresh the session, but you don't want anything to happen 
 to the page you're typing into at the present moment. Frames 
 seems to be the answer for this.
 
 - Gyrus
 
 
 - [EMAIL PROTECTED]
 work: http://www.tengai.co.uk
 play: http://www.norlonto.net
 - PGP key available
 
 
 
__
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