Session info lost on BlackBerry

2012-02-02 Thread Joshua Rowe

This is a ColdFusion/mobile question.  I have a simple web app with a login 
page.  User types their login info, session info is assigned, and they're taken 
to a projects page.  This works fine, but when I try to setup an auto-login 
(user clicks a bookmark on their home screen that passes a username and 
password), the same process should occur, but the session info is lost once 
they are taken to the projects page.  This occurs on the BlackBerry 9370 (w/ 
touch screen.  not sure of the model type), but works fine when testing it in a 
browser and the BlackBerry simulator.   Here's some code for the auto login:



EXEC m_AccountLogin
@Username = ,
@Password = ;













I read that using  right after assigning session vars may cause an 
issue, so I tried a JavaScript re-direct and still came up short.  Any ideas?  
Thanks in advance. 

~|
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:349750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion 9 WACK

2010-04-01 Thread Joshua Rowe

Hello.  Any news on the ColdFusion 9 WACK release date? (if this will even be 
the name for them) 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332544
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfquery return datatypes

2010-02-26 Thread Joshua Rowe

Hello.  Is there a way to return a datatype list from your query along with the 
column list?  Example:


SELECT * FROM tblTest;



#qryTest.columnlist#
#qryTest.datatypes#


Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331178
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion - Get All Active Sessions (hosted environment)

2010-02-23 Thread Joshua Rowe

Hello.  I am trying to grab a collection of all active sessions within my 
ColdFusion application.  Running the following code on my local machine is 
successful:




and works great!  However, when uploading this to my shared hosting account 
with CrystalTech, I receive the following error message:

"Permission denied for creating Java object: coldfusion.runtime.SessionTracker.
Access to Java objects in the ColdFusion package has been disabled by the 
administrator."

Does anybody know of a good way to code around this in a shared hosting 
environment? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331060
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


.htaccess file for ColdFusion?

2009-11-30 Thread Joshua Rowe

Hello.  I am trying to set up an .htaccess file to "clean up" the URL.  For 
example, if the user is on page:

http://www.mydomain.com/index.cfm?page=Contact

then I want the URL to show this instead:

http://www.mydomain.com/Contact

Would this be the right way to go to get this result or is there a better 
method?  Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328750
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Looking for a CF 8 host

2009-11-25 Thread Joshua Rowe

http://www.crystaltech.com/ has been awesome!
 

-Original Message-
From: Michael J. Sprague [mailto:mikespra...@gmail.com] 
Sent: Wednesday, November 25, 2009 11:39 AM
To: cf-talk
Subject: Re: Looking for a CF 8 host


I've had great luck with GearHost http://www.gearhost.com


On Wed, Nov 25, 2009 at 1:29 PM, Charlie Griefer
wrote:

>
> If you've got enough clients to justify it, you could get a CF8 VPS.  
> I believe prices range from $35/mo to $75/mo (depending on various
factors).
>
> Even if it cost you $75 a month, and you had 5 clients, you'd break 
> even if you charged each $15/month.  And for all intents and purposes, 
> it's your own server.
>
> FWIW, I've heard good things about kickass VPS.
>
> http://kickassvps.com/services/windows_vps/plans.php
>
> On Wed, Nov 25, 2009 at 10:23 AM, Larry Soo  wrote:
>
> >
> > Well, it's been a long time since I've participated on this 
> > list...I'm still using CF 6.1 MX.  Haven't been doing full-time web 
> > dev for the past
> 6
> > yrs or so but now I'm trying to do it full-time again.  Spent a 
> > couple of months learning ASP.NET but am not impressed.  Lots of 
> > cool demos and samples but once you try to take full control of the 
> > details and layout,
> it
> > seems to me that you get back into the same hand-coding that you do 
> > with PHP and Coldfusion.  So for the time being, I'm going to 
> > experiment with
> CF
> > 8 and its Ajax and image handling features (things I've wanted built 
> > into CF for a long time).
> >
> > Anyway...that means I also need to find a CF 8 host.  I've found 
> > some highly recommended hosts starting at USD$25.  But are there any
> affordable
> > but good CF8 hosts in the USD$15 range?   Most of my clients don't have
a
> > problem with $25/mo but some do so I need an alternative.
> >
> > Thanks in advance for your help!
> >
> > ...lars
> >
> >
> >
> >
> >
> >
>
> 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: jQuery Sortable list not working in CFWINDOW

2009-11-20 Thread Joshua Rowe

This is exactly what I was looking for!  Works great!  Thank you! :)
 

-Original Message-
From: Azadi Saryev [mailto:az...@sabai-dee.com] 
Sent: Thursday, November 19, 2009 7:50 PM
To: cf-talk
Subject: Re: jQuery Sortable list not working in CFWINDOW


try this:
1) create a js function in your main page (the one that opens a cfwindow):


2) remove your current $(document).ready(...) block (completely if it is in
the page loaded in cfwindow, or just the part of it that creates the
sortable lists if it is in the main page and also has other functions used
by your main page)

3) in the page that loads inside cfwindow add this line as last line before
the closing </body> tag:
<cfset ajaxonload('createSortables')>

Azadi Saryev



On 20/11/2009 06:34, Joshua Rowe wrote:
> Hello!
>
> I have a page where a user can select other users to assign to a project.
The user drags and drops a user from a list on the left side into another
list on the right side.  This is all handled using an unordered list and
jQuery's sortable() function.  This works great by itself, but I am wanting
to put this into a cfwindow.  I have attached the code below.
>
> If I wrap this code into a cfwindow tag, it works.  However, when I drop
the code in a file somewhere and set the "source" attribute in the cfwindow
tag to point to that file, it doesn't work.  It also doesn't work if I use
the ColdFusion.Window.create() function.  Any thoughts?
>
>
> <script type="text/javascript" src="scripts/jQuery.js"> 
>  src="scripts/jQuery_MenuDragDrop.js">
>
> 
> $(document).ready(function() {
>   // users available and assigned lists:
>   $("ul#sListAvailable, ul#sListAssigned").sortable({
>   connectWith: "ul.userList",
>   placeHolder: "ul.userList",
>   update: function() {
>   ...
>   }
>   });
> });
> 
>
> Assign Users:
> Available Users:
> 
>   
>   #sNameFirst#
#sNameLast#
>   
> 
>
> Assigned Users:
> 
>
>
> 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328580
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


jQuery Sortable list not working in CFWINDOW

2009-11-19 Thread Joshua Rowe

Hello!

I have a page where a user can select other users to assign to a project.  The 
user drags and drops a user from a list on the left side into another list on 
the right side.  This is all handled using an unordered list and jQuery's 
sortable() function.  This works great by itself, but I am wanting to put this 
into a cfwindow.  I have attached the code below.

If I wrap this code into a cfwindow tag, it works.  However, when I drop the 
code in a file somewhere and set the "source" attribute in the cfwindow tag to 
point to that file, it doesn't work.  It also doesn't work if I use the 
ColdFusion.Window.create() function.  Any thoughts?






$(document).ready(function() {
// users available and assigned lists:
$("ul#sListAvailable, ul#sListAssigned").sortable({
connectWith: "ul.userList",
placeHolder: "ul.userList",
update: function() {
...
}
});
});


Assign Users:
Available Users:


#sNameFirst# 
#sNameLast#



Assigned Users:



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328539
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ColdFusion.Window.create set bodystyle attribute

2009-11-13 Thread Joshua Rowe

Hmmm.. The background color is gray by default on my machine for whatever
reason.  Also, for some reason, the headerstyle attribute works, but the
bodystyle attribute does not.  I'll play around with it some more and see if
I can get it to work.


-Original Message-
From: Azadi Saryev [mailto:az...@sabai-dee.com] 
Sent: Thursday, November 12, 2009 7:16 PM
To: cf-talk
Subject: Re: ColdFusion.Window.create set bodystyle attribute


this code worked fine for me - a cfwindow with blindingly blue background
popped up:

  doWindow = function() {
var wConfig = new Object();
wConfig.bodystyle = "background-color: blue"; //changed it to 'blue'
wConfig.center = true; //center the window on page
ColdFusion.Window.create('mywin', 'test window', 'some-page.cfm',
wConfig); //change some-page.cfm to your url }   

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 13/11/2009 08:15, Joshua Rowe wrote:
> How do I set the bodystyle attribute for the ColdFusion.Window.create()
function?  I tried creating a JavaScript object like so, but it didn't work:
>
> var windowConfig = new Object();
> windowConfig.bodystyle = "background-color: white;"; 
> ColdFusion.Window.create(name, title, url, windowConfig);
>
> I read somewhere that you cannot set the bodystyle attribute when creating
a cfwindow this way.  Any thoughts? 
>
> 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328348
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion.Window.create set bodystyle attribute

2009-11-12 Thread Joshua Rowe

How do I set the bodystyle attribute for the ColdFusion.Window.create() 
function?  I tried creating a JavaScript object like so, but it didn't work:

var windowConfig = new Object();
windowConfig.bodystyle = "background-color: white;";
ColdFusion.Window.create(name, title, url, windowConfig);

I read somewhere that you cannot set the bodystyle attribute when creating a 
cfwindow this way.  Any thoughts? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328340
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cfmenuitem double click event

2009-11-10 Thread Joshua Rowe

Is there a way to set a JavaScript double click event to a cfmenuitem? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion 9 books

2009-11-10 Thread Joshua Rowe

Does anybody know of any ColdFusion 9 books that are already out or will be 
coming out in the near future?  I'm looking for something similar to the 
ColdFusion 8 Web Application Construction Kit series by Ben Forta.  Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328194
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF LiveDocs

2009-11-09 Thread Joshua Rowe

It was in and out for me throughout the weekend.  Seems to be working okay
here now, though.



-Original Message-
From: Steve Keator [mailto:skea...@mlinc.com] 
Sent: Monday, November 09, 2009 2:43 PM
To: cf-talk
Subject: CF LiveDocs


Anyone else having a problem accessing them besides me?  Two computers /
OS'es and 4 different browsers later, I'm still having an issue.

 

Any thoughts?





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328147
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfpop - do not want to retrieve duplicate emails

2009-11-05 Thread Joshua Rowe

Hello,

We need to be able to POP emails from a Yahoo! Mail account without deleting 
the emails and without retrieving the same email twice.  If I set the action 
attribute to "Delete" in the  tag, it deletes the email from the Yahoo 
account.  Is there a way to only pop unique emails without deleting them from 
the mail box?

Best regards,
Joshua Rowe


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328077
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFPOD and CFMENU - multiple drop-down arrows

2009-11-03 Thread Joshua Rowe

Hello,

When I use the  tag on a page that contains a horizontal , each 
menu item adds an extra drop-down arrow for each menu item.  For example, each 
menu item has one drop-down arrow by default.  If I add two 's to the 
page, two extra arrows are added to each menu item for a total of three for 
each item.  How do I go about getting rid of those extra arrows?

Best regards,
Joshua Rowe


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


list files on user's computer?

2009-11-01 Thread Joshua Rowe

Hello,

I have a ColdFusion page that lists files on my computer using the 
 tag, starting with my C:\ drive.  When I upload the ColdFusion 
page to my hosting account, I can no longer view the file listing.  The 
following error comes up:

access denied (java.io.FilePermission (directory location) read) null

How do I go about listing files on my computer if the ColdFusion page is on the 
hosting server?  This is for a file upload program I am working on.

Thanks!


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327892
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Separate CFC's

2009-10-15 Thread Joshua Rowe

Hello,

I have somewhere around fifty to sixty functions in one CFC which adds up to 
about 2500 lines of code.  If I categorize these functions and separate them 
into different CFC's, will this speed up page loading time at all?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327251
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


get SWF movie length

2009-10-14 Thread Joshua Rowe

Hello,

Is there a way to detect the length/run-time of an SWF movie in ColdFusion?  If 
not in ColdFusion, what about JavaScript or jQuery?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327220
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: zip code list

2009-10-14 Thread Joshua Rowe

Hello,

Attached is a CSV file containing a zip code list.  Contains zip code, city,
state, state abbr, latitude, and longitude.  It's a couple years old and I
found it for free off the internet somewhere, so any cities added between
now and the time it was created will not be included.

Best regards,
Joshua Rowe


-Original Message-
From: Timothy Laureska [mailto:tlaure...@dhmh.state.md.us] 
Sent: Wednesday, October 14, 2009 10:12 AM
To: cf-talk
Subject: zip code list


Hello:
 
Anybody know of a quick easy place to get a csv or other delimited file (or
database) of zip codes by state? And yes, for free :-)




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfcontent create file

2009-10-14 Thread Joshua Rowe

This should work for you:



This is the content that will go into my .doc file.
This is a test.





Best regards,
Joshua Rowe


-Original Message-
From: Richard White [mailto:rich...@j7is.co.uk] 
Sent: Wednesday, October 14, 2009 8:57 AM
To: cf-talk
Subject: cfcontent create file


hi

we are using cfcontent and rich text to create a word doc as follows:

{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfd
bch0 etc...

however when we run the cfm page it brings up the download option, whereas
we want to create the file and store it on the server

can anyone help with this?

thanks

richard 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327191
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Datasource issue with CrystalTech

2009-09-14 Thread Joshua Rowe

Hello there!  I have a website that is being hosted through CrystalTech and am 
running into an issue with assigning a datasource through their control panel.  
From what I've seen in the past, you assign a datasource name with a userid and 
password and then associate whatever MySQL database you have with that 
datasource by it's userid.  However, in the CrystalTech control panel, you 
create a MySQL database with up to three userids and passwords, then create a 
datasource (without inputting a userid and password) and link it to the 
database you have created.

Once I have done this, I run a query on one of the tables with a  tag 
and input the datasource, username, and password attributes into that tag.  I 
get the following error message when I run the page:

"Datasource  could not be found."

The connection string I receive for this datasource in the CrystalTech control 
panel is this:

"dsn=;uid=;password="

the userid and password variables are empty.  When I remove the username and 
password attributes from the  tag or assign them empty values 
(example: username="" password=""), I receive the same error message as above.

If I run a query test in the CrystalTech control panel, the results from the 
table return fine.

Is there a special way to call a datasource from CrystalTech in ColdFusion 8?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Map/Grid Application

2009-07-30 Thread Joshua Rowe

Hello,

I am wondering if there is a place where I can find a ColdFusion app that can 
break down any US city map into a grid.. say five miles per section.  Kind of 
like a zip code radius search, except without the zip code and in square blocks 
in increments of five miles instead of a five mile radius search.

I have searched the Abobe ColdFusion library exchange and CFLig.org already, 
but didn't have any luck.  Any help would be appreciated.  Thank you!

Best regards,
Joshua Rowe


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325126
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4