RE: Change FileName from Download.cfm to Download.csv

2002-05-15 Thread Ledwith, Brian

I dont remember where I got this list, and it's certainly not a complete
list of MIME types, but here are some:

ai = application/postscript
aif = audio/aiff
aiff = audio/aiff
ani = application/x-navi-animation
au = audio/basic
avi = video/x-msvideo
bin = application/x-macbinary
bmp = image/bmp
dp = application/commonground
exe = application/octet-stream
gif = image/gif
gz = application/x-compressed
hqx = application/mac-binhex40
htm = text/html
html = text/html
jfif = image/jpeg
jpe = image/jpeg
jpg = image/jpeg
jpeg = image/jpeg
map = application/x-navimap
mov = video/quicktime
mpe = video/mpeg
mpeg = video/mpeg
mpg = video/mpeg
nvd = application/x-navidoc
nvm = application/x-navimap
pbm = image/x-portable-bitmap
pdf = application/pdf
pgm = image/x-portable-graymap
pic = image/pict
pict = image/pict
pnm = image/x-portable-anymap
ps = application/postscript
qt = video/quicktime
ras = image/x-cmu-raster
rgb = image/x-rgb
rtf = application/rtf
sit = application/x-stuffit
snd = audio/basic
stl = application/x-navistyle
tar = appliation/x-tar
text = text/plain
tgz = application/x-compressed
tif = image/tiff
tiff = image/tiff
txt = text/plain
xbm = image/x-xbitmap
xpm = image/x-xpixmap
wav = audio/x-wav
z = application/x-compressed
zip = application/x-compressed


--
 Brian Ledwith
 Stupefying...prodigious...asinine... --Mac Wellman
 Learning Express, LLC.
 www.learnatest.com / www.learningexpressonline.com
 900 Broadway NY NY
 office:212.995.2566 x150
 facsimile: 212.995.5512
 mobile:917.957.9166
--

-Original Message-
From: Troy Simpson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 10:57 AM
To: CF-Talk
Subject: Re: Change FileName from Download.cfm to Download.csv


Thank you.  I'll give it a try.

Where can I find a list of all possible values for the type attribute of the
cfcontent tag (cfcontent type=application/vnd.ms-excel
file=#variables.PathAndFileName# deletefile=No) so if I wanted to send
a text file, word document, or xml document for IE to rendor?

Thanks,
Troy
__
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: Computer Professionals / Cold Fusion Programmer

2002-05-14 Thread Ledwith, Brian

A quick search on google for the quote Sam had turned up with:
www.torrancechamber.com/2002laws.htm and
www.careerzone.torrnet.com/Employers/contbus.htm


Interestingly, on the California Chamber of Commerce website...
http://www.calchamber.com//helpline/computer_professionals_exempt.html


~bgl

(ps, a big THANK YOU to all involved with last nights NYCFUG meeting.)



--
 Brian Ledwith
 Stupefying...prodigious...asinine... --Mac Wellman
 Learning Express, LLC.
 www.learnatest.com / www.learningexpressonline.com
 900 Broadway NY NY
 office:212.995.2566 x150
 facsimile: 212.995.5512
 mobile:917.957.9166
--



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 4:35 PM
To: CF-Talk
Subject: RE: Computer Professionals / Cold Fusion Programmer


god I wish! ;)

Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org


-Original Message-
From: Sam Roach [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 4:31 PM
To: CF-Talk
Subject: Computer Professionals / Cold Fusion Programmer


Does anyone know how the law works for salaried employees, regarding
Computer Professionals?  Is there a minimum salary?


Computer Professionals - A new law provides for increased hourly minimum pay
for exempt computer professionals. The minimum salary requirement for exempt
computer professionals rose from $41 per hour in 2001 to $42.64 in 2002.


__
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: Change FileName from Download.cfm to Download.csv

2002-05-14 Thread Ledwith, Brian

Try this, using the filename and it's location:

cfset variables.FileName=TodaysStats.csv
cfset variables.PathAndFileName=C:\Download\TodaysStats.csv

CFHEADER NAME=Content-Disposition value=attachment;
filename=#variables.FileName#
cfcontent type=application/vnd.ms-excel
file=#variables.PathAndFileName# deletefile=No



~bgl


--
 Brian Ledwith
 Stupefying...prodigious...asinine... --Mac Wellman
 Learning Express, LLC.
 www.learnatest.com / www.learningexpressonline.com
 900 Broadway NY NY
 office:212.995.2566 x150
 facsimile: 212.995.5512
 mobile:917.957.9166
--

-Original Message-
From: Troy Simpson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 5:06 PM
To: CF-Talk
Subject: Change FileName from Download.cfm to Download.csv


I want to query a database with ColdFusion and provide the results to
the user as a comma delimited file with the extention of *.csv so that
the user can open it with Excel.

Would Someone point me in the right direction on how to do this.
I believe I have to modify the header before sending the result to the
user.

Thanks,
Troy

--
-
Troy Simpson
  Applications Analyst/Programmer
  Microsoft Certified Systems Engineer
  Oracle Certified Professional DBA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
E-mail: [EMAIL PROTECTED]



__
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: Window resize

2002-04-18 Thread Ledwith, Brian

body onload=javascript:window.resizeTo(width,height); 



--
 Brian Ledwith
 Stupefying...prodigious...asinine... --Mac Wellman
 Learning Express, LLC.
 www.learnatest.com / www.learningexpressonline.com
 900 Broadway NY NY
 office:212.995.2566 x150
 facsimile: 212.995.5512
 mobile:917.957.9166
--

-Original Message-
From: phumes1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 1:19 PM
To: CF-Talk
Subject: Re: Window resize


Is there a way to have Javascript resize my window with a onload command?



+---
+ 

Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+---
-+



__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Make last line of query available

2002-04-15 Thread Ledwith, Brian

Treat it as a structure.  revquery.rev[revquery.recordcount] should do it


~bgl

--
 Brian Ledwith
 Stupefying...prodigious...asinine... --Mac Wellman
 Learning Express, LLC.
 www.learnatest.com / www.learningexpressonline.com
 900 Broadway NY NY
 office:212.995.2566 x150
 facsimile: 212.995.5512
 mobile:917.957.9166
--

-Original Message-
From: LANCASTER, STEVEN M. (JSC-OL) (BAR)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 5:32 PM
To: CF-Talk
Subject: Re: Make last line of query available


Help, I know this is probably a silly question but I can not find how to
point at the last record in this query. I would like to make the last value
for triptrav_seq,value is currently 41456 for this query, available for use.
Is there a method to point to the last record of an ordered query and make
the variable triptrav_seq available  I would appreciate any input you
can give.



CFQUERY NAME=revquery datasource=#application.issrtd#  
   SELECT rev, triptrav_seq, rownum
   FROM   rtd_triptrav
   WHERE  rtd_trip_id = '#trip_id#'
   Order by rtd_triptrav.rev 
/CFQUERY



A 1 40777
A 2 40778
A 3 40779
A 4 41456

Steven Lancaster
Barrios Technology
NASA/JSC
281-244-2444 (voice)
[EMAIL PROTECTED] 


__
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: Make last line of query available

2002-04-15 Thread Ledwith, Brian

Sorry, Steven, that should have been:
revquery.triptrav_seq[revquery.recordcount]



--
 Brian Ledwith
 Stupefying...prodigious...asinine... --Mac Wellman
 Learning Express, LLC.
 www.learnatest.com / www.learningexpressonline.com
 900 Broadway NY NY
 office:212.995.2566 x150
 facsimile: 212.995.5512
 mobile:917.957.9166
--

-Original Message-
From: Ledwith, Brian [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 5:40 PM
To: CF-Talk
Subject: RE: Make last line of query available


Treat it as a structure.  revquery.rev[revquery.recordcount] should do it


~bgl
__
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: Slightly OT: Frame Frustration

2002-01-24 Thread Ledwith, Brian

Jim,

Thanks for the reply, but unfortunately I cant utilize your suggestion.
Partially due to how the framed pages are heavy with javascript executed
forms, and how I cflocate here and there.  There actually isn't an anchor
tag anywhere that the user can click on to bail out of the framed
environment, and adding one isn't an option I cant explore.

:(

~brian

-Original Message-
From: Jim McAtee [mailto:[EMAIL PROTECTED]]

If you know which pages are to be unframed, then within your own site why
don't you just make the links to those pages use a href=...
target=_top?  It's a little more work, but it's also cleaner than linking
to a page and then requiring that page to break out of the frameset.

Jim



.
.
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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



Slightly OT: Frame Frustration

2002-01-23 Thread Ledwith, Brian

Evening all,

2/3 of my site is non-frames, and each page executes the following JS above
to break out of frames:

!--
function FrameKill() { if (self.parent.frames.length != 0)
self.parent.location=document.location; }
--

The rest of the site is in the following frameset. (js not executed on pages
related to the frames)

frameset rows=10%,90%
frame name=1 src=1.cfm
frameset cols=90%,10%
frame name=2 src=2.cfm
frameset rows=10%,80%,10%
frame name=3 src=3.cfm
frame name=4 src=4.cfm
frame name=5 src=5.cfm
/frameset
/frameset
/frameset

When a user is in the framed portion of the site, and chooses to return to
the non-framed area, (which can be done from different places, in different
frames, at different times), the non-framed page successfully breaks out of
whatever frame it was loaded into.

This is the way we intended for it to work. (An added bonus was that all of
our pages found on AskJeeves were able to break out of their frames)

But... now we have a client who demand that we _don't_ break out of _their_
frames.  They have a page on their computers that their customers access our
site through, that has a frame of navigation on it, and the main frame is
left for the desired website.

Its almost as if they have a frameset like:

frameset cols=25%,75%
frame name=CustomerNavigation src=CustomerNavigation.htm
frame name=BriansWebsite src=http://www.brianwebsite.com;
/frameset

My question is, how can I rephrase the javascript to break out of only the
frames related to my site, but not the frame my site is nested in?  I've
been looking in a number of places for the answer to this (and
unfortunately, Mail-Archive.com is down), but have only been coming up with
how to break out of my own frames... nothing about nested frames on
different sites.

Any thoughts or ideas would be appreciated.  Since this isnt strictly CF, if
anyone would prefer to reply offlist, please do so to
[EMAIL PROTECTED]

TIA,
~brian

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
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: Cue Cat

2001-10-05 Thread Ledwith, Brian

Check out these two emails sent in August:

 - Original Message -
 From: Rick Osborne [Mojo] [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Tuesday, August 21, 2001 6:09 PM
 Subject: RE: Bar Code Scan


  Back when CueCats were all the rage, I wrote a CF app that would take
the
  input from it, decode it, and do neat things with the UPC.  Being the
geek
  that I am, I didn't have much use for it beyond cataloguing my (comic)
  books.  But, it all really depends on your scanning hardware.  The
CueCat
 is
  a keyboard shunt, so it inputs character data and is therefore pretty
easy
  to work with in a web context.  If your scanner hardware is anything
more
  complex than that, you're going to end up having to write browser
  plugins/ActiveX controls to get the data in, etc.  As far as cost,
CueCats
  are free.  Visit your local RadioShack or do a web search.
 
  -R
 
  http://www.rickosborne.org/CueCat/


AND


-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 11:31 AM
To: CF-Talk
Subject: Re: Bar Code Scan


I've been doing nothing but barcode apps for the last few weeks (warehouse
management and shipping system, all in CF) and here's an extremely helpful
tip:

Keyboard wedge scanners have the ability to be programmed and most will
come by default with a setting of adding a CR to each barcode scan. In IE,
pressing return will submit a form, so this works great.

But what happens when you want to scan more than one barcode? Javascript
to the rescue:

SCRIPT LANGUAGE=JavaScript
!--
function checkForm(form) {
valid = false;
if (form.orderno.value.length  0 
form.tracking.value.length   0)
{ valid = true; }
else { form.tracking.focus(); }
return valid;
}
//--
/SCRIPT

This is from a page that waits for a order scan and a delivery
confirmation label scan.

This is in the form tag:

 onSubmit=return checkForm(this);

So, the javscript prevents the form from submitting until both fields are
filled AND moves the focus from the first field to the second after the
frist scan! Tada!

Hope that helps. That's been my little up my sleeve trick lately.






-Original Message-
From: Rich Tretola [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 5:16 PM
To: CF-Talk
Subject: Cue Cat


I picked up one of those cue cats from radio shack today, has anyone ever
written a tag that will use this as a barcode scanner?

Rich

~~
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: Which OS to use? Win98 or WinME?

2001-07-13 Thread Ledwith, Brian

Dell sent me a laptop with NT4 preinstalled, on a FAT32 formatted drive,
making it blatantly obvious that manufacturers don't necessarily even boot a
computer before they ship it, so I'm not sure if I'd point the finger at
Compaq for the botched ME install on your Presario.

I recently bought a new home computer, and copies of 98se and 2000 with the
intention tossing the ME cd and create a dual boot system.  After 2 attempts
of installing and configuring 98, I ended up reinstalling ME.  Apache and CF
server work like a charm.  Granted, I haven't benchmarked the setup, it's
temporary, till a side project I'm working on is done.  Then I'll spend a
Saturday doing it right, 98 and/or 2000.

my .02

~bgl


-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 9:10 AM
To: CF-Talk
Subject: RE: Which OS to use? Win98 or WinME?


We got a Compac Presario system for our QA Engineer on which to test our
product.  Right out of the box, the OS had to be reinstalled.  It has also
consistantly been a problem OS.  Even out Windows 95 test boxes have been
less troublesome.  I also installed it on my wife's computer after
purchasing an upgrade.  After 2 days she demanded I reload Windows 98.

I guess you have a good system for ME.  1Apparently it does not like the
systems I have deal with.

Russel

 -Original Message-
 From: G [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 13, 2001 7:29 AM
 To: CF-Talk
 Subject: Re: Which OS to use? Win98 or WinME?


 I've found this very interesting.  Many reviews i've heard about
 window's ME
 have been negative like this one.  However, it has been a God-send on my
 home PC.  Faster boots, fewer, as in almost none, reboots.  With
 windows 98,
 I was rebooting every couple of days.  It was also one of the cleanest and
 easiest upgrades I've been subjected too while in microsoft land.  After
 about 6 months of use, I'm YET to find a single bug.  I wonder
 what some of
 the subtle differences and nuances are in these systems that can
 cause such
 drastically different results with this OS??? Perhaps it's as
 simple as some
 people test the limits of an OS more so than othersI admit my home PC
 use is not nearly as intensive as work.

 Brian
 - Original Message -
 From: Russel Madere [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, July 12, 2001 3:38 PM
 Subject: RE: Which OS to use? Win98 or WinME?


  DON'T INSTALL Windows ME!!
 
  Sorry to scream, but we have it on a test box here and it is
 really buggy.
  Tell your friend to stick with Windows 98, especially if he
 wants to keep
  his techie friends.  I have almost lost my religion troubleshooting
 Windows
  ME.
 
  Russel
 
   -Original Message-
   From: Pooh Bear [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, July 12, 2001 3:27 PM
   To: CF-Talk
   Subject: OT: Which OS to use? Win98 or WinME?
  
  
   hey guys, i have a friend who is doing small development stuff on
   his win 98
   box.  He wants to upgrade to the latest consumer version of
   windows (WinME),
   but wants to know if WinMe was more buggy than win98!  thanx!
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Which OS to use? Win98 or WinME?

2001-07-13 Thread Ledwith, Brian

Thats exactly my point, that Dell installed an OS on a improperly formatted
harddrive.

-Original Message-
From: Stephen Galligan [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 10:27 AM
To: CF-Talk
Subject: RE: Which OS to use? Win98 or WinME?


Hi,

NT4.0 cannot be installed on a FAT32 partition as NT cannot natively
undertstand FAT32 partitions.  NT can only run on a FAT16 or an NTFS
partition.  WIN2k can however run on FAT32 and NTFS.  If you are running NT4
or Win2k then NTFS would make sense as it has far superior inherent security
features.

I personally would use win2k as my development platform - windoze 9*/ME just
don't cut the mustard!  BSODs are very rare sights when one uses Win2k.
ME/9* are not designed to be robust development OSs - they are for playing
games!

Stephen

-Original Message-
From: Ledwith, Brian [mailto:[EMAIL PROTECTED]]
Sent: 13 July 2001 15:10
To: CF-Talk
Subject: RE: Which OS to use? Win98 or WinME?


Dell sent me a laptop with NT4 preinstalled, on a FAT32 formatted drive,
making it blatantly obvious that manufacturers don't necessarily even boot a
computer before they ship it, so I'm not sure if I'd point the finger at
Compaq for the botched ME install on your Presario.

I recently bought a new home computer, and copies of 98se and 2000 with the
intention tossing the ME cd and create a dual boot system.  After 2 attempts
of installing and configuring 98, I ended up reinstalling ME.  Apache and CF
server work like a charm.  Granted, I haven't benchmarked the setup, it's
temporary, till a side project I'm working on is done.  Then I'll spend a
Saturday doing it right, 98 and/or 2000.

my .02

~bgl


-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 9:10 AM
To: CF-Talk
Subject: RE: Which OS to use? Win98 or WinME?


We got a Compac Presario system for our QA Engineer on which to test our
product.  Right out of the box, the OS had to be reinstalled.  It has also
consistantly been a problem OS.  Even out Windows 95 test boxes have been
less troublesome.  I also installed it on my wife's computer after
purchasing an upgrade.  After 2 days she demanded I reload Windows 98.

I guess you have a good system for ME.  1Apparently it does not like the
systems I have deal with.

Russel

 -Original Message-
 From: G [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 13, 2001 7:29 AM
 To: CF-Talk
 Subject: Re: Which OS to use? Win98 or WinME?


 I've found this very interesting.  Many reviews i've heard about
 window's ME
 have been negative like this one.  However, it has been a God-send on my
 home PC.  Faster boots, fewer, as in almost none, reboots.  With
 windows 98,
 I was rebooting every couple of days.  It was also one of the cleanest and
 easiest upgrades I've been subjected too while in microsoft land.  After
 about 6 months of use, I'm YET to find a single bug.  I wonder
 what some of
 the subtle differences and nuances are in these systems that can
 cause such
 drastically different results with this OS??? Perhaps it's as
 simple as some
 people test the limits of an OS more so than othersI admit my home PC
 use is not nearly as intensive as work.

 Brian
 - Original Message -
 From: Russel Madere [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Thursday, July 12, 2001 3:38 PM
 Subject: RE: Which OS to use? Win98 or WinME?


  DON'T INSTALL Windows ME!!
 
  Sorry to scream, but we have it on a test box here and it is
 really buggy.
  Tell your friend to stick with Windows 98, especially if he
 wants to keep
  his techie friends.  I have almost lost my religion troubleshooting
 Windows
  ME.
 
  Russel
 
   -Original Message-
   From: Pooh Bear [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, July 12, 2001 3:27 PM
   To: CF-Talk
   Subject: OT: Which OS to use? Win98 or WinME?
  
  
   hey guys, i have a friend who is doing small development stuff on
   his win 98
   box.  He wants to upgrade to the latest consumer version of
   windows (WinME),
   but wants to know if WinMe was more buggy than win98!  thanx!
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Which OS to use? Win98 or WinME? (correction)

2001-07-13 Thread Ledwith, Brian

Sorry, Russel, I wrote it backwards...  I meant to say ...I'm not sure if
I'd point the finger at _Microsoft_ for the botched ME install...

But hell, I certainly agree not to run ME on a production machine.  I
wouldnt even want to run it on our staging server.  Come to think of it, I
wouldnt want it on any development machine or server in my office.  I feel
it's a home product, and thats where it belongs.


-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 10:38 AM
To: CF-Talk
Subject: RE: Which OS to use? Win98 or WinME?




 -Original Message-
 From: Ledwith, Brian [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 13, 2001 9:10 AM
 To: CF-Talk
 Subject: RE: Which OS to use? Win98 or WinME?


 Dell sent me a laptop with NT4 preinstalled, on a FAT32 formatted drive,
 making it blatantly obvious that manufacturers don't necessarily
 even boot a
 computer before they ship it, so I'm not sure if I'd point the finger at
 Compaq for the botched ME install on your Presario.

I'm not blaming Compac, I'm blaming Microsoft.  Even after our technician
reinstalled Windows ME, it still was one of the worst OSs we have run under
any sort of load.  On a comparable machine, the Windows 95 and 98 installs
were much more stable under similar loads.


 I recently bought a new home computer, and copies of 98se and
 2000 with the
 intention tossing the ME cd and create a dual boot system.  After
 2 attempts
 of installing and configuring 98, I ended up reinstalling ME.
 Apache and CF
 server work like a charm.  Granted, I haven't benchmarked the setup, it's
 temporary, till a side project I'm working on is done.  Then I'll spend a
 Saturday doing it right, 98 and/or 2000.

Since the ME machine is both a test and production machine, we are seriously
considering changing the OS.


 my .02

 ~bgl


 -Original Message-
 From: Russel Madere [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 13, 2001 9:10 AM
 To: CF-Talk
 Subject: RE: Which OS to use? Win98 or WinME?


 We got a Compac Presario system for our QA Engineer on which to test our
 product.  Right out of the box, the OS had to be reinstalled.  It has also
 consistantly been a problem OS.  Even out Windows 95 test boxes have been
 less troublesome.  I also installed it on my wife's computer after
 purchasing an upgrade.  After 2 days she demanded I reload Windows 98.

 I guess you have a good system for ME.  1Apparently it does not like the
 systems I have deal with.

 Russel

  -Original Message-
  From: G [mailto:[EMAIL PROTECTED]]
  Sent: Friday, July 13, 2001 7:29 AM
  To: CF-Talk
  Subject: Re: Which OS to use? Win98 or WinME?
 
 
  I've found this very interesting.  Many reviews i've heard about
  window's ME
  have been negative like this one.  However, it has been a God-send on my
  home PC.  Faster boots, fewer, as in almost none, reboots.  With
  windows 98,
  I was rebooting every couple of days.  It was also one of the
 cleanest and
  easiest upgrades I've been subjected too while in microsoft
 land.  After
  about 6 months of use, I'm YET to find a single bug.  I wonder
  what some of
  the subtle differences and nuances are in these systems that can
  cause such
  drastically different results with this OS??? Perhaps it's as
  simple as some
  people test the limits of an OS more so than othersI admit
 my home PC
  use is not nearly as intensive as work.
 
  Brian
  - Original Message -
  From: Russel Madere [EMAIL PROTECTED]
  To: CF-Talk [EMAIL PROTECTED]
  Sent: Thursday, July 12, 2001 3:38 PM
  Subject: RE: Which OS to use? Win98 or WinME?
 
 
   DON'T INSTALL Windows ME!!
  
   Sorry to scream, but we have it on a test box here and it is
  really buggy.
   Tell your friend to stick with Windows 98, especially if he
  wants to keep
   his techie friends.  I have almost lost my religion troubleshooting
  Windows
   ME.
  
   Russel
  
-Original Message-
From: Pooh Bear [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 3:27 PM
To: CF-Talk
Subject: OT: Which OS to use? Win98 or WinME?
   
   
hey guys, i have a friend who is doing small development stuff on
his win 98
box.  He wants to upgrade to the latest consumer version of
windows (WinME),
but wants to know if WinMe was more buggy than win98!  thanx!
   
  
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Client Variables NOT expiring

2001-07-11 Thread Ledwith, Brian

Stephen-

To kill a users session, and clean everything up, I have a logout page with
the following:

cfset client.userid = 0
cfset client.parentid = 0
cfset client.useridtypes = 
cfset DeleteClientVariable(E_ID)
cfset DeleteClientVariable(D_ID)
cfset DeleteClientVariable(S_ID)
cfset DeleteClientVariable(I_List)
cfset DeleteClientVariable(Co_List)
cfset DeleteClientVariable(Cl_List)
cfset DeleteClientVariable(VPN)
cfcookie name=VISITORID  value= expires=NOW
cfcookie name=CFID   value= expires=NOW
cfcookie name=CFTOKENvalue= expires=NOW
cfcookie name=CFMAGICvalue= expires=NOW

and then use Dan G. Switzers cf_location to kick the user to a You
have logged out.  I think I got it from the dev exchange...

cf_location url=Goodbye.cfm?RN=#CreateUUID()# addtoken=NO

The next user is then able to log into a completly fresh environment.  May
seem excessive, but we have multiple unique users acessing the site from the
same computer (teachers and students in a school PC lab).

HTH,
~bgl




-Original Message-
From: Stephen R. Cassady [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 12:03 PM
To: CF-Talk
Subject: RE: Client Variables NOT expiring


Dylan Bromby
[EMAIL PROTECTED]


Dylan;
Sorry - but for some strange reason I have not yet received your first
reply! In any case - I will go play with DeleteClientVariable(), though what
I really need is for the CFID and CFTOKEN cookies to disappear form the
client browser. They seem to remain. So, I close my browser, but on return
to the site - the system still knows my CFID and CFTOKEN! As far as I can
tell - this shouldn't be happening. It's a security issue that I need to
overcome.

Thank you for your time,
Stephen R. Cassady
[EMAIL PROTECTED]


-Original Message-
From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 9:40 AM
To: [EMAIL PROTECTED]
Cc: 'Stephen R. Cassady'
Subject: RE: Client Variables NOT expiring


i sent a reply to this yesterday. have you tried the DeleteClientVariable()
function?

-Original Message-
From: Stephen R. Cassady [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 8:18 AM
To: CF-Talk
Subject: Client Variables NOT expiring



I'm having the darnedest time trying to delete client files on browser close
or after a period of time. I'm even trying to follow Hal Helms great
Tracking State Management with Cold Fusion to run this correctly. Even
running the code below - the CFID and CFTOKEN are exactly the same, and are
unforgotten. They are supposed to disappear, but they don't!

Here's a chuck of my application file:


!--- Application Settings  ---
cfapplication name=thisapplication clientmanagement=Yes
sessionmanagement=Yes setclientcookies=Yes
sessiontimeout=#CreateTimeSpan(0,0,20,0)#
clientstorage=thisapplication_Client


!--- Expire the Client Variables when the browser closes ---
CFIf IsDefined(cookie.CFID) AND Isdefined(cookie.CFTOKEN)
CFSET localCFID = Cookie.CFID
CFSET localCFTOKEN = Cookie.CFTOKEN
CFCOOKIE name=CFID value=#localCFID#
CFCOOKIE name=CFTOKEN value=#localCFTOKEN#
/CFIF


!--- Expire the Client Variables on 5 minutes ---
CFPARAM NAME=CLIENT.CheckLastVisit DEFAULT=#CreateODBCDateTime(Now())#
CFSET Compare = DateCompare(DateAdd(n, -5, CreateODBCDateTime(Now())),
CLIENT.CheckLastVisit)
CFIF Compare IS NOT 1
CFSCRIPTStructClear(Session);/CFSCRIPT
CFCOOKIE NAME=CFID VALUE=0 EXPIRES=NOW
CFCOOKIE NAME=CFTOKEN VALUE=0 EXPIRES=NOW
CFELSE
CFSET CLIENT.CheckLastVisit = CreateODBCDateTime(Now())
/CFIF


Help!

Stephen R. Cassady
[EMAIL PROTECTED]
http://www.tallylist.com



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



(reposts) cluster cats confusing client sessions? and Cookie s Sessions Proxies - Oh my!

2001-05-04 Thread Ledwith, Brian

G'morning, all,
I'm having some difficulties, and searching through the archive brought up 2
previous posts.  I couldn't find any replies to the original posts, and
rather than retype the entire scenario, I'm going to butcher them a bit to
combine the two, as they seem to be very similar to my problem.
If anyone has any ideas, I (and my boss) would be most appreciative! (Thank
you Dana and Sean for forming your questions in a better way than I could
have).

Thanks,
~Brian



Brian Ledwith
Learning Express
www.LearnATest.com
ph. 212.995.2566 x150
fx. 212.995.5512


--- My compilation ---


Part 1

A client recently set up a proxy server in his office and a site we did for
them stopped working.  From what I can tell, CFID and CFTOKEN are not
getting passed through the proxy, and thus sessions are not working.Cookies
set with cfcookie *do* work fine, so it is not cookies in general that are
failing.  Here is my cfapplication file:

cfapplication name=LearnX_Com_livesite clientmanagement=Yes
clientstorage=ClientVars sessionmanagement=Yes setclientcookies=Yes
sessiontimeout=#createtimespan(0,6,0,0)#
applicationtimeout=#CreateTimeSpan(1,0,0,0)# SETDOMAINCOOKIES=Yes

I assume it is the proxy, because if I turn off the proxy in their office
and connect directly, it all works fine.  When I turn confirm cookies on, it
does not ask me if I want to allow the CFID and CFTOKEN to be set.  If I
surf without the proxy, it does.


Part 2

I have a members-only service to which visitors log in with a user name and
password.  I keep track of the visitors identity and membership status with
client variables referenced to cftoken and cfid BOTH in a cookie AND in a
url.variable for those running without cookies.

The best I've been able to come up with is something along the lines of User
1 comes in to Server 1 and gets assigned to Session A.  User 2 comes in to
the back up, Server 2, which keeps its own session count and gives User 2
Session A.  User 2 then returns to the site during a period of less
activity, is identified by Server 1 as Session A and is associated with User
1.

Makes sense?  Of course not.  The client variables are stored in a single
central db used by both servers.  So even if someone was redirected to a
backup server mid-session, the system should keep their identity straight.
(I've since enabled session aware load management in Cluster Cats.)




--- The 2 original posts ---


-Original Message-
From: Dana Larose 
Subject: Cookies  Sessions  Proxies - Oh my! 
Date: Thu, 26 Oct 2000 14:36:12 -0700 

Hey everyone,

I've just run into some quirkiness this afternoon, and I thought I would
seek some insight.

A client recently set up a proxy server in his office and a site we did for
them stopped working.  From what I can tell, CFID and CFTOKEN are not
getting passed through the proxy, and thus sessions are not working.
Cookies set with cfcookie *do* work fine, so it is not cookies in general
that are failing.  Here is my cfapplication file:

cfapplication name=SomeName clientmanagement=Yes setclientcookies=Yes
sessionmanagement=Yes sessiontimeout=#CreateTimeSpan(0,0,30,0)#

So, if I understand things, CFID and CFTOKEN should be stored as in-memory
cookies, but it doesn't seem to be working.

I assume it is the proxy, because if I turn off the proxy in their office
and connect directly, it all works fine.  When I turn confirm cookies on, it
does not ask me if I want to allow the CFID and CFTOKEN to be set.  If I
surf without the proxy, it does.

Has anyone encountered this before?  Is there a work-around?

Dana Larose


-Original Message-
From: Sean German 
Subject: cluster cats confusing client sessions? 
Date: Thu, 17 Aug 2000 14:40:50 -0700 

Howdy,

Over the past couple days I've had several instances of members of my site
seeing account information of other members.  

I have a members-only service to which visitors log in with a user name and
password.  I keep track of the visitors identity and membership status with
client variables referenced to cftoken and cfid either in a cookie or in a
url.variable for those running without cookies.

We've been up for about two years and never had this type of issue before
the last week or so.  The only event I can come up with that roughly
correlates to the onset of the issue is a period last week of higher than
usual traffic that caused Cluster Cats to load-balance a lot of folks to our
back up server.

The best I've been able to come up with is something along the lines of User
1 comes in to Server 1 and gets assigned to Session A.  User 2 comes in to
the back up, Server 2, which keeps its own session count and gives User 2
Session A.  User 2 then returns to the site during a period of less
activity, is identified by Server 1 as Session A and is associated with User
1.

Makes sense?  Of course not.  The client variables are stored in a single
central db used by both servers.  So even if someone was redirected to a
backup server mid-session, the 

RE: Previous date

2001-03-21 Thread Ledwith, Brian

Shally,

Use: dateformat(NOW()-1,"MM/DD/YY")

~bgl

-Original Message-
From: monika kon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 11:03 AM
To: CF-Talk
Subject: Previous date


Hi !
Can any one please tell me how can I display the
previous date. For example if today is '03/21/01' then
I have to display '03/20/01'. Is there any function
which I can use. 

Shally
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: encryption of form url variables

2001-03-16 Thread Ledwith, Brian

Nagesh,

Just yesterday I used the following:

On source page:
cfscript
str = '#trim(QueryName.Password)#';
key = 'YourKeyHere';
encStr = urlencodedformat(encrypt(str,key));
/cfscript
cflocation url="LoginReminder.cfm?Password=#encStr#"

On LoginReminder.cfm
cfscript
str = '#url.Password#';
key = 'YourKeyHere';
decStr = urlencodedformat(decrypt(str,key));
/cfscript
cfset variables.Password = decStr

HTH,
~Brian




-Original Message-
From: nagesh [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 11:58 AM
To: CF-Talk
Subject: encryption of form  url variables


Hi all,

Is there any way to encrypt the urls and hidden form variables so that no
one could able to see even if they open either viewsource or pointing the
cursor to the link.

I know by using encrypt(), decrypt() functions we can do that but the
problem is when we want to send the hidden form variables to the next page,
and some of the variables thru the link . how can we do that?

thanx in advance
nagesh
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists