Re: Question on scopes

2011-09-19 Thread Steve 'Cutter' Blades
C'Mon Claude, store a 4 character value to the db, and hit the db for that value every time a session starts? Just use the cookie. If there's a lot of info, then sure, but don't add unnecessary overhead if you don't have to. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified

Re: CreateObject referencing a .NET assembly on Network Storage

2011-09-19 Thread Andrey Baranov
by default it uses the SYSTEM account like all other CF services, so you may need to change this as well. Good catch, the .NET service was not using this account. Unfortunately, I'm still getting the error. ~| Order the

Re: CreateObject referencing a .NET assembly on Network Storage

2011-09-19 Thread Russ Michaels
it may be then that the request is running under the application pool identity. try changing that, or trying impersonating another user. On Mon, Sep 19, 2011 at 2:31 PM, Andrey Baranov andrey.bara...@dmv.ny.gov wrote: by default it uses the SYSTEM account like all other CF services, so you may

Re: Question on scopes

2011-09-19 Thread funand learning
Thanks for the replies. I got my scenario wrong I guess. So when the user select a year say '2000' and proceeds to next page to see some data for that year. then he clicks 'ctrl + n' to open new window. and now he wants to select a different year say 2003 and want to see 2003 data. The purpose

Re: Question on scopes

2011-09-19 Thread Russ Michaels
session scope is perfectly valid in this case, either by requiring the form to be submitted or by using AJAX to autosave form fields when they change. You just need to make sure the data is saved before opening a new window. Alternately you could just pass the values to the new window via

Re: Question on scopes

2011-09-19 Thread Claude Schnéegans
C'Mon Claude, store a 4 character value to the db If the Tax year is the ONLY information needed, then a cookie may be used. But in my mind, there are often more informations to store about the user, like his name, eMail, address, etc. Then the database approach is better.

Re: Question on scopes

2011-09-19 Thread funand learning
@Russ. I am not sure I understand what you are saying. if my index.cfm is as follows: cfset StructClear(session) form name=frm method=post action=results.cfm select name=dd_year option value=20002000/option option value=20012001/option option value=20022002/option option

Re: Question on scopes

2011-09-19 Thread Russ Michaels
session variables can only be set on the server, a form only exists in HTML if you are not submitting the form then nothing is being sent to the server for you to store in any scope. Therefore you will either need to pass the current form field values between your windows using Javascript or you

Re: Question on scopes

2011-09-19 Thread Michael Grant
Or, you could just use js (be it vanilla or a framework like jQuery) to set a cookie when the onChange event of the drop down menu is fired? Unless I misunderstand, it sounds like it doesn't really need to be in the users session. On Mon, Sep 19, 2011 at 11:15 AM, Russ Michaels

Re: Question on scopes

2011-09-19 Thread .jonah
Ok, that wasn't clear in the beginning. You want to keep track of DIFFERENT years in each window. Since they're both in the same browser and visiting the same site, they'll be receiving the same cookies and therefore the same session. To do this you'll probably need to pass the year along in

CFPOP

2011-09-19 Thread Jenny Gavin-Wear
I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of formatting the message, replacing all the LF's, etc with br's. I'm thinking someone must have done this before, maybe I

Re: CFPOP

2011-09-19 Thread Michael Grant
pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import mail into an online archive. I'm just going to use the textbody to display the messages in the browser. My question is, what is the ideal way of

Re: CreateObject referencing a .NET assembly on Network Storage

2011-09-19 Thread Mike Chabot
Have you tried making sure your code works in a development environment with the DLL available locally? -Mike Chabot On Wed, Sep 14, 2011 at 2:21 PM, Andrey Baranov andrey.bara...@dmv.ny.gov wrote: The main issue is that the dll is not being found. I am getting the error: Class

Re: Question on scopes

2011-09-19 Thread funand learning
@Jonah, Thanks for the solution. Currently, I have been using the same way as you suggested. Was just wondering if there a different way to do the same instead of passing url variables on each page, like define once, use everywhere. (in my case session/client scope have to be ruled out) Thanks.

RE: CFPOP

2011-09-19 Thread Bobby Hartsfield
pre tags would be easiest. If you don't want pre tags then something like #replace(content, char(13), 'br /', 'all')# .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]

Re: CFPOP

2011-09-19 Thread Billy Cravens
#paragraphFormat(messageBody)# does the same thing. Billy Cravens bdcrav...@gmail.com On Sep 19, 2011, at 11:41 AM, Michael Grant wrote: pre#messageBody#/pre On Mon, Sep 19, 2011 at 12:34 PM, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: I'm using CFPOP to import

RE: CFPOP

2011-09-19 Thread Bobby Hartsfield
Not really but probably good enough for most people's preference. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Billy Cravens [mailto:bdcrav...@gmail.com] Sent: Monday, September 19, 2011 4:57 PM To: cf-talk Subject:

RE: CFPOP

2011-09-19 Thread Jenny Gavin-Wear
Thanks for all the replies, but not quite there yet. I copied/pasted a mail from this list into Dreamweaver, and it looks about as perfect as could be, that's what I am aiming for. Jenny Gavin-Wear Fast Track Online Tel: 01262 602013 http://www.fasttrackonline.co.uk/ -Original

RE: CFPOP

2011-09-19 Thread Bobby Hartsfield
unless you tell us what the difference is with what you see in DW and what you see in a browser (and the code you are using to display it), I dont think there is much else to tell you to try. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original

Re: Solr Summary Text

2011-09-19 Thread Victor Moore
Dean, did you find a solution to this? I have cf 901 with CHF901 installed and no luck Regards Victor On Thu, Mar 17, 2011 at 9:56 AM, Dean Lawrence dean...@gmail.com wrote: I don't believe so. I'll have to double check. I did look at the release notes though and did not see anything

Re: Solr Summary Text

2011-09-19 Thread Dan Baughman
You can change solr's configuration through editing its text file to include the context when the entries in that collection are updated. I can't recall off the top of my head how to do this, but I can you can dig around on google for adding context to solr coldfusion 9 or something. They say

Re: Solr Summary Text

2011-09-19 Thread Dean Lawrence
Hey Victor, Yes, I was finally able to get this working. If I remember correctly, it was a combination of editing the schema.xml and the solrconfig.xml files. However, I don't remember what updates I actually made. I will try to compare my backup files with the live files that are working. I'm

Re: Solr Summary Text

2011-09-19 Thread Victor Moore
I will check it out and let you know. You are right, kind of disappointing that some many things were left out of the cf9 implementation of solr . Thank you Sir Victor On Mon, Sep 19, 2011 at 8:57 PM, Dan Baughman dan.baugh...@gmail.com wrote: You can change solr's configuration through