RE: passing sessions between 2 sites on the same domain

2003-10-10 Thread Jeff Lucido
Lari:

 
I have had the same problem in the past. One thing I did was when I was
ready to "move" to the SSL side of the site I had my form post to a CF
page where I check values, etc. and then do a CFLOCATION to the secure
address while using the attribute "addtoken" set to "yes".

 
Another way I got around this in the past with a site using client
variables was to encode the session values into a WDDX packet, send it
in the URL string and then decode it on the "other" side. 

 
Either way should work pretty well.

 
Good luck,
-JSLucido

-Original Message-
From: lari trujillo [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 10:05 AM
To: CF-Talk
Subject: passing sessions between 2 sites on the same domain

have a shopping cart that it is losing all of its values when the user
hits the checkout button and takes them to my secure checkout page.
Example, the user is shopping at www.mystore.com and purchase several
items which are saved as session variables (session.mysession), they
then would click on the checkout button which goes to
https://secure.store.com, but all of the session variables are lost. 
I am linking the page like this 

href="">
target="_blank" >
the values of the cart are not passing as I am getting a statement i
added to the application if there are no values on the cart"your
shopping cart is empty"
The address bar displays 
https://secure.test.net/testappli/finalize.cfm?CID=W0716&CFID=143186
&CFTOKEN=60763772
when i click on checkout...Do i need to add anything else to avoid
losing my session? 
all advice will be appreciated. 
  _  


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




RE: How do I flush cached queries?

2003-10-10 Thread Jeff Lucido
Oops, I am pretty sure this works in CF5 but I can't remember if I used
it back then or not. This definitely works in MX. Also, the
"cachewithin" attribute is pretty much a must unless you have a query
you want to keep indefinitely (be nice to your RAM memory, it is your
friend). Another point, this will clear all queries in the cache so it
may be overkill. The previous suggestion about setting the cachewithin
attribute to '0' is a surefire way to kill the cache on just a single
query. S. Isaac (who is lurking on this list daily) has some pretty neat
ways to cache queries within his framework, onTap.

 
Good luck,
-JSLucido

-Original Message-
From: Jeff Lucido [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 8:20 AM
To: CF-Talk
Subject: RE: How do I flush cached queries?



Good luck,
-JSLucido

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 8:03 AM
To: CF-Talk
Subject: How do I flush cached queries?

I have tried using the undocumented 
CFUSION_DBCONNECTIONS_FLUSH()>  but it is not flushing query results and
forcing a new query (I want to flush the cached queryies whenever an
administrator updates info in the database).  Is there any other way to
flush cached query results?  I am using CF5 on Win2K with MS SQL Server
2000.

Thanks

Pete

  _  

  _  


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




RE: How do I flush cached queries?

2003-10-10 Thread Jeff Lucido


 
Good luck,
-JSLucido

 
-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 10, 2003 8:03 AM
To: CF-Talk
Subject: How do I flush cached queries?

I have tried using the undocumented 
CFUSION_DBCONNECTIONS_FLUSH()>  but it is not flushing query results and
forcing a new query (I want to flush the cached queryies whenever an
administrator updates info in the database).  Is there any other way to
flush cached query results?  I am using CF5 on Win2K with MS SQL Server
2000.

Thanks

Pete

  _  


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




RE: Image manipulation

2003-09-10 Thread Jeff Lucido
Rick:

I have used Efflare's CFX tag in the past (CFX_imageCR not the
CFX_ImageFlare) and it bogged down when we started to throw hundreds of
images at it pretty quickly. Their ImageFlare tag does far more than
just resize your images, it allows a pixel level editing ability used to
create bar graphs on the fly, etc. Their ImageCR tag is more inline with
what you need and is only $149. 

But, IMHO CFX_image is free and works faster when we kick it hard with
hundreds of images. Besides you can't beat free!

-JSLucido

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 3:03 PM
To: CF-Talk
Subject: RE: Image manipulation


If some proposals I'm making work out, I may end up going with the
Efflare solution...they'll be money involved with those projects.

Right now, I'm just trying to make it simple for some dance studios, et
al, to put up snap shots from events...

Efflare...$495...hmmm...that's now higher than the Web Edition of MS
Server 2003!

Rick



>  -Original Message-
>  From: Geoffrey V. Brown [mailto:[EMAIL PROTECTED]
>  Sent: Wednesday, September 10, 2003 3:38 PM
>  To: CF-Talk
>  Subject: RE: Image manipulation
>
>
>  Hi,
>  Efflare has a great solution, though, it is pricey, as you state.
>
>  It is rock solid, and we put ours under very heavy load.
>
>  Geoff B
>
>  > -Original Message-
>  > From: Rick Faircloth [mailto:[EMAIL PROTECTED]
>  > Sent: Wednesday, September 10, 2003 2:58 PM
>  > To: CF-Talk
>  > Subject: Image manipulation
>  >
>  >
>  > Hi, all.
>  >
>  > Ok...my head hurts from searching...I've checked the
archives...
>  > Just can't find the answer I need...
>  >
>  > Is there any image manipulation tag that will allow the width
to be
>  > specified and have the height automatically sized so that the
image
>  > remains proportional?
>  >
>  > Couldn't find that answer concerning ImageMagick...and Efflare
>  > might do it, (haven't checked), but boy, Efflare's costly...
>  >
>  > Almost all my resizing needs width specified and height
>  automatically
>  > calculated proportional to width...
>  >
>  > Solutions?
>  >
>  > Thanks,
>  >
>  > Rick
>  >
>  >
>  >
>  >
>  ~
>  |
>  Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
>  Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
>  Unsubscribe:
>
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=708.628.4
>
>  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
>
>



~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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: Image manipulation

2003-09-10 Thread Jeff Lucido
Rick:

I resize JPEG, GIF and BMP's daily with ease on two productions websites
using CFX_image:

http://www.kolumbus.fi/jukka.manner/

It automatically scales proportionally based on which dimension you give
it, unless you specify both height and width values.

Good luck,
-JSLucido

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 1:58 PM
To: CF-Talk
Subject: Image manipulation


Hi, all.

Ok...my head hurts from searching...I've checked the archives... Just
can't find the answer I need...

Is there any image manipulation tag that will allow the width to be
specified and have the height automatically sized so that the image
remains proportional?

Couldn't find that answer concerning ImageMagick...and Efflare might do
it, (haven't checked), but boy, Efflare's costly...

Almost all my resizing needs width specified and height automatically
calculated proportional to width...

Solutions?

Thanks,

Rick




~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: Regex find

2003-09-09 Thread Jeff Lucido
It is for sale, $15. Watch for the wrap:

http://www.contentbox.com/claude/customtags/tagStore.cfm?p=g

-Original Message-
From: Ryan Mitchell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 09, 2003 8:43 AM
To: CF-Talk
Subject: Re: Regex find


I cant find a link to download the tag!

On 9/9/03 14:14, "Claude Schneegans" <[EMAIL PROTECTED]>
wrote:

> You could have a look at CF_REextract at 
> http://www.contentbox.com/claude/customtags/REextract/testREextract.cf
> m?p=hf
> It has been designed especially for this kind of job and can even get
the page
> by
> HTTP for you.
> 
> In your particular case, you could just use:
>  INPUTMODE  = "http"
> INPUT   = "Your http address"
> RE1   = 'robotfile[[:space:]]+"'
> RE2   = '"'
> OUTPUTMODE  = "list"
> OUTPUT   = "your variable name"
>> 
> 
> and get the content in your variable.
> You could also get all occurences if you want in a query, and have it 
> more general depending on the reg expressions you give.
> 
> 

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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: RE: MS SQL Server vs. MySQL

2003-08-25 Thread Jeff Lucido
Bryan:

Licensing is a bit tricky. You can use here when you have a license for
X, but you can't distribute it. You can distribute it if you have
license for X & Y. Best thing I have found is the following link (watch
for the wrap):

http://www.microsoft.com/sql/msde/howtobuy/default.asp

Yes, for smaller applications it works well. We primarily use it when we
intergate with Microsoft's Retail Management software which uses MSDE as
the database engine. There is a thread limit and database size limit as
well. Can't remember off the top of my head but I am sure you will find
the necessary info on their website.

Also, in regards to hosting, I have not seen any ISP's off the top of my
head. We host our own sites we build for our clients and run an instance
of SQL2K and MSDE on the same database server. Runs well and with little
extra overhead (granted there are only two MSDE databases at the moment
compared to 17 on SQL2K).

Good luck,
-JSLucido

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2003 11:08 AM
To: CF-Talk
Subject: Re: RE: MS SQL Server vs. MySQL


Hey Jeff,

Great...thanks for the info.  I'm certainly starting to think that MSDE
will be a great alternative for our smaller clients.

Now it sounds like it's totally free??  any licenceing issues?

Does anybody know of ISPs that will host MSDE DBs?  or is generally used
for apps running co-lo or dedicated servers?

TIA

Cheers

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: "Jeff Lucido" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 25, 2003 9:02 AM
Subject: RE: RE: MS SQL Server vs. MySQL


> Bryan:
>
> 1. Yes, I use Enterprise Manager to connect to several MSDE databases 
> running at client locations. 2. Yes, MSDE can be found on both the 
> Office 2K and XP Professional CD's. You can also download a new 
> instance by downloading MSDE SP3 from Microsoft. I just did it as a 
> test this past week where I had no previous install of MSDE and I ran 
> MSDE SP3 and it installed a brand-new instance for me.
>
> Hope that helps!
>
> Good luck,
> -JSLucido
>
> -Original Message-
> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 25, 2003 10:44 AM
> To: CF-Talk
> Subject: Re: RE: MS SQL Server vs. MySQL
>
>
> Just wondering from those that use MSDE
>
> 1) Can Enterprise Manager from a licenced copy of MS SQL Server 
> connect to a remote MSDE DB?
>
> 2) Can you get MSDE seperate from the Standard or Enterprise versions 
> of MS SQL Server (because the MS site seems to say it comes with...in 
> which case a client would have to cough up full price for a full-blown

> version = no benefit)?
>
> TIA
>
> Cheers
>
> 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: "Josh Remus" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, August 22, 2003 12:09 PM
> Subject: RE: RE: MS SQL Server vs. MySQL
>
>
> > It does include osql if you just need shell-type/command-prompt SQL
> access.
> > We have licenses for SQL Server, so I do use Enterprise Manager to 
> > manage our MSDE databases.
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 22, 2003 1:49 PM
> > > To: CF-Talk
> > > Subject: Re: RE: MS SQL Server vs. MySQL
> > >
> > >
> > >  but to
> > > > get the 2k version, you need either MSDN, Sql server 2k, or 
> > > > Office
>
> > > > XP.
> > >
> > > Yeah, it looks that way now.  Funny, I went to their site a couple

> > > of months ago and downloaded from there.  Those wacky MS guys.
> > >
> > > One thing:  MSDE comes with no front end tools, so you'll need 
> > > either the client tools from Enterprise Manager, or Access, or 

RE: RE: MS SQL Server vs. MySQL

2003-08-25 Thread Jeff Lucido
Bryan:

1. Yes, I use Enterprise Manager to connect to several MSDE databases
running at client locations.
2. Yes, MSDE can be found on both the Office 2K and XP Professional
CD's. You can also download a new instance by downloading MSDE SP3 from
Microsoft. I just did it as a test this past week where I had no
previous install of MSDE and I ran MSDE SP3 and it installed a brand-new
instance for me.

Hope that helps!

Good luck,
-JSLucido

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 25, 2003 10:44 AM
To: CF-Talk
Subject: Re: RE: MS SQL Server vs. MySQL


Just wondering from those that use MSDE

1) Can Enterprise Manager from a licenced copy of MS SQL Server connect
to a remote MSDE DB?

2) Can you get MSDE seperate from the Standard or Enterprise versions of
MS SQL Server (because the MS site seems to say it comes with...in which
case a client would have to cough up full price for a full-blown version
= no benefit)?

TIA

Cheers

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: "Josh Remus" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 22, 2003 12:09 PM
Subject: RE: RE: MS SQL Server vs. MySQL


> It does include osql if you just need shell-type/command-prompt SQL
access.
> We have licenses for SQL Server, so I do use Enterprise Manager to 
> manage our MSDE databases.
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 22, 2003 1:49 PM
> > To: CF-Talk
> > Subject: Re: RE: MS SQL Server vs. MySQL
> >
> >
> >  but to
> > > get the 2k version, you need either MSDN, Sql server 2k, or Office

> > > XP.
> >
> > Yeah, it looks that way now.  Funny, I went to their site a couple 
> > of months ago and downloaded from there.  Those wacky MS guys.
> >
> > One thing:  MSDE comes with no front end tools, so you'll need 
> > either the client tools from Enterprise Manager, or Access, or a 
> > third party front end.  One might be better off getting a developer 
> > license for SQL Server, which is now only $49.  There was a thread 
> > about it a while ago.
> >
> >
> 

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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: Banner Ads

2003-08-20 Thread Jeff Lucido
Yep. Try FuseAds from the same folks who brought us FuseTalk.

http://www.fuseads.com/

Good luck,
-JSLucido

-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 20, 2003 2:06 PM
To: CF-Talk
Subject: Banner Ads


Anyone have any experience with a good CF Banner Ad Application? Perhaps
Fusebox?


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

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: Adalon experience

2003-08-14 Thread Jeff Lucido
Walter:

I have been using Adalon for most of my larger projects for almost two
years. I really have gotten to rely on the ease of use of creating
application layouts and the mapping of the application process. I
recently started using the "MX version" and I am pretty impressed. I
would highly recommend the application, it is an invaluable asset in my
development toolbox.

-JSLucido

-Original Message-
From: Sparrow-Hood, Walter [mailto:[EMAIL PROTECTED] 
Sent: None
To: CF-Talk
Subject: Adalon experience


Does anyone have any experience using Adalon 2.6 in the CFMX alpha mode
( i.e. not using the Fusebox or Struts skins)?  Does anybody have any
opinions in general about the software?  Are there any other similar
packages available?




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Roles in CFMX

2003-08-14 Thread Jeff Lucido
Ryan:

I was working on the same issue earlier this week and was helped a great
deal by Ray Camden. isUserInRole will treat what you pass it as a AND
comparison, therefore if you pass G,U then the user must possess both
roles. Note, what you pass is case-sensitive and there must be no
spaces. So, if admins in your application are given all roles then
isUserInRole("G") will allow all three of your hypothetical users access
the CFC.

Hope that helps!
-JSLucido

-Original Message-
From: Ryan Kime [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 11:44 AM
To: CF-Talk
Subject: Roles in CFMX


I need help understanding ROLES in CFMX because I think the concept goes
against my idea of roles-based security. I would think that if you
assign a user one to many roles and then if a role is listed in a comma
delimited list in the roles parameter on a CFC, the user can access it,
but that's not how it goes in CFMX.
 
Here's a quick rundown of my situation: we finished a major app, now two
other groups want access to it and this requires limitations to certain
areas and functions. When developing the original app we set everyone on
the same role, so all CFCs have the role parameter set.
 
Say for simplicity's sake, the three roles are G for guest, U for user,
and A for Admin. Therefore
 
Guests = "G"
Users = "G,U"
Admins = "G,U,A"
 
 
On a CFC, if the role is "G" will the Users and Admins be able to use
the CFC? 
What about a "G,U" restricted function, will Admins be able to access
it?
 
 
TIA,
 
Ryan Kime
  [EMAIL PROTECTED] Web
Developer Webco Industries
 


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: CFLOGIN and isUserInRole issues

2003-08-14 Thread Jeff Lucido
Raymond:

Thanks for the insight, however I want to check on a singular level. For
instance, as I am looping through the record set I want to make sure
that the record does not display unless the user's role (a list)
contains the corresponding value. So, it is a singular comparison (that
probably doesn't make sense). 

The weird part is I replace the recordset value with a number I know is
the database and it displays the value:


  Display value here.


Any other ideas?

Thanks!
-JSLucido

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2003 2:44 PM
To: CF-Talk
Subject: RE: CFLOGIN and isUserInRole issues


If you pass N roles to isUserInRole, it is treated as an AND list, ie,
if you pass 2,4, it means the user must be in 2 and in 4. To get around
this, simply code your own UDF, or borrow the one I wrote up at
cflib.org. I _believe_ it is called IsUserInAnyRole.


===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email: [EMAIL PROTECTED]
Blog : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

> -Original Message-----
> From: Jeff Lucido [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 11, 2003 1:13 PM
> To: CF-Talk
> Subject: CFLOGIN and isUserInRole issues
> 
> 
> I am pretty sure I have the world's easiest problem, however
> I having fits using the function "isUserInRole." 
> Specifically, when I authenticate a user I pull all of their 
> group ID privileges and turn them into a list. I assign this 
> list to the roles attribute of cfloginuser. Now, when I 
> specifically, know I want to keep someone out of a certain 
> section, I can easily use isUserInRole("6") to decided 
> whether or not to provide them with the privilege item.
> 
> Now, I have a recordset from a query of available links which
> have a single security value, at_id. When I loop through the 
> recordset I want to display the link based on whether or not 
> the person has the proper privileges. For example:
> 
> User
> Roles = 1,2,3
> 
> Recordset (qFoo)
> At_id = 2,4
> 
> 
>   
> -- When recordset containing at_id = 2 is processed,
> display this string --
>   
> 
> 
> I hope I made some sense. I tried an index loop and that did
> not work either (or at least my implementation). Any 
> suggestions? I really like the functions associated with the 
> CFLOGIN tag so rolling my own is not an option at this point 
> (unless I really have to).
> 
> Any and all help is greatly appreciated!!
> -JSLucido
> 
> 
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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



CFLOGIN and isUserInRole issues

2003-08-14 Thread Jeff Lucido
I am pretty sure I have the world's easiest problem, however I having
fits using the function "isUserInRole." Specifically, when I
authenticate a user I pull all of their group ID privileges and turn
them into a list. I assign this list to the roles attribute of
cfloginuser. Now, when I specifically, know I want to keep someone out
of a certain section, I can easily use isUserInRole("6") to decided
whether or not to provide them with the privilege item.

Now, I have a recordset from a query of available links which have a
single security value, at_id. When I loop through the recordset I want
to display the link based on whether or not the person has the proper
privileges. For example:

User 
Roles = 1,2,3

Recordset (qFoo)
At_id = 2,4


  
-- When recordset containing at_id = 2 is processed, display this
string --
  


I hope I made some sense. I tried an index loop and that did not work
either (or at least my implementation). Any suggestions? I really like
the functions associated with the CFLOGIN tag so rolling my own is not
an option at this point (unless I really have to).

Any and all help is greatly appreciated!!
-JSLucido


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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



Erratic CF/IIS issues

2003-08-14 Thread Jeff Lucido
I am experiencing the strangest problem I have ever seen with hosting CF
apps. on an IIS box. Specifically, I have several virtual websites
configured in IIS (not virtual directories). The erratic issue is
occasionally one of the virtual websites will be displayed on top of the
virtual website a user makes a request for. Specifically, a user wants
xyz.com but abc.com is displayed on top of xyz.com. Nothing displays in
the site abc.com except for broken links since the images do not exist
in xyz.com. This is very odd and extremely annoying.

I tried the MS knowledge base, but those efforts were fruitless (at
least for me). I tried deleting both virtual websites, renaming their
source directories, kicked the box and then re-created the virtual
websites using new names. No luck, still happens. I cannot find anything
in the log files and it does not occur at any regular frequency. It may
go several weeks working properly and then, bam site not available. The
only way I can get the sites to serve up properly after this has
happened is to kick the WWW publishing service and CF MX. Server
specifics:

-W2K Server, SP3
-CFMX, updater 3

Any ideas and more importantly any way to correct this problem?

Thanks!
-JSLucido




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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



Erratic CF/IIS issues

2003-08-04 Thread Jeff Lucido
I am experiencing the strangest problem I have ever seen with hosting CF
apps. on an IIS box. Specifically, I have several virtual websites
configured in IIS (not virtual directories). The erratic issue is
occasionally one of the virtual websites will be displayed on top of the
virtual website a user makes a request for. Specifically, a user wants
xyz.com but abc.com is displayed on top of xyz.com. Nothing displays in
the site abc.com except for broken links since the images do not exist
in xyz.com. This is very odd and extremely annoying.

I tried the MS knowledge base, but those efforts were fruitless (at
least for me). I tried deleting both virtual websites, renaming their
source directories, kicked the box and then re-created the virtual
websites using new names. No luck, still happens. I cannot find anything
in the log files and it does not occur at any regular frequency. It may
go several weeks working properly and then, bam site not available. The
only way I can get the sites to serve up properly after this has
happened is to kick the WWW publishing service and CF MX. Server
specifics:

-W2K Server, SP3
-CFMX, updater 3

Any ideas and more importantly any way to correct this problem?

Thanks!
-JSLucido



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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



Multiple occurrences of CF_TwoSelectsRelated

2003-07-18 Thread Jeff Lucido
Hello all:

I am not having a happing programming day. I am pretty frustrated with a
problem I am having and I am now crying uncle. Specifically, I have  an
array of elements where I am looping through the recordset and inputting
data for each item in the array. Part of this input process is using two
related select boxes. Here is where the problem starts,
CF_TwoSelectsRelated works well when it is called only once per form
using the same recordset (in fact, I can get it to work perfectly when
displaying just one). 

I cannot, however, get it to work with multiple occurrences of the same
recordset in the same form. One thing I did try was to tweak the
generated JS code to create a unique function name and call to the
function per instance, hopefully creating a unique function and
association for the particular occurrence. I really thought this would
work, but instead you can make a selection in the first select box and
the second one is not affected. I am not getting any JS errors that I
know of so I am stumped.

I searched Google and I found a posting on CF-Talk with the same
problem, but the solution posted three years ago pulls up a 404.
Hopefully someone else out there has run into the same problem and could
provide a little insight.

Any help would be greatly appreciated.

Thanks!
-JSLucido


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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