RE: High traffic CF website/application

2002-10-30 Thread Govind Bhat
Hi all,

We have been running on CF since 1998 and quite happy with the performance
(with caching on!!). For example, yesterday we had 1.3 million hits and
200,000 page views with average download time of 3.4 seconds. (More than 60%
of the pages served were dynamic)

Regards
Govind Bhat
Technology Manager
www.50plus.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:CF-Talk-list@;houseoffusion.com]
Sent: October 30, 2002 6:08 AM
To: [EMAIL PROTECTED]
Subject: CF-Talk-list V1 #57


CF-Talk-list   Wed, 30 Oct 2002   Volume 1 : Number
57

In this issue:

Re: Shorter urls?
RE: Shorter urls?
RE: Yahoo moving to PHP
RE: OT:Yahoo moving to PHP
Re: Yahoo moving to PHP
cfc question
RE: cfc question
RE: cfc question
Re: Shorter urls?
cfc error help
cfc question
RE: cfc question
Re: columns of user-editable text: Link to Excel sheet?
RE: MX Installation: Client Variables Not Changing (Part 2!)
OT:Looking for a good SQL mailing list
RE: Looking for a good SQL mailing list
Re: OT:Looking for a good SQL mailing list
RE: OT:Yahoo moving to PHP
Re: Yahoo moving to PHP
RE: cfc error help
Converting HTML to images (JPG/GIF)


--

Date: Tue, 29 Oct 2002 22:08:26 -0500
From: Christian Cantrell <[EMAIL PROTECTED]>
Subject: Re: Shorter urls?
Message-ID: <[EMAIL PROTECTED]>

Here's an interesting solution.  It's not perfect (just threw the code 
together), but it works.  It has the additional benefit of adding a 
level of security to your application because it hashes your query 
string in a way that cannot be reversed (essentially obfuscates it in a 
non-reversible manner).  It also assumes that once you have created a 
shorter query string, you will eventually want to recover the original 
query string, probably in the page processing the request that contains 
the query string.

Start by including these two functions:


 function getShortString(str) {
 var key = "";
 if (false is isDefined("application._strMap")) {
 application._strMap = structNew();
 }
 key = hash(str);
 application._strMap[key] = str;
 return key;
 }

 function getLongString(key) {
 if (false is isDefined("application._strMap")) {
 return "";
 }

 if (false is structKeyExists(application._strMap, key)) {
 return "";
 }
 return application._strMap[key];
 }


Then create your querystrings like this:


cl
ick 
here

In the processing page, retrieve the original querystring like this:


The full querystring is #qs#.

Of course, you could do something a little more clever like creating a 
function that returns a struct or parses the querystring and puts the 
values in the URL scope so that you could retrieve them just as though 
they were literally passed in the URL as opposed to actually getting 
back a query string, but you get the idea.

Your query string has to be over 32 characters before this technique 
starts to pay for itself in terms of length since the hash() function 
returns a 32 byte string.  As I mentioned earlier, it has the added 
benefit of completely obscruing the data you pass in your query string, 
too, since the MD5 hash is not reversable.

If you decide to implement something like this, consider variable locking.

Hope this helps.

Cantrell

Ian Lurie wrote:
> Hi all,
> 
> I've searched the devcenter, google, etc. but can't seem to find any
> discussion of how to generate shorter URL strings. I want to take:
> 
> http://www.site.com?action=blah&brand=1&name=blahblah&;
> 
> And convert it to 
> 
> http://www.site.com/asdfwer234123
> 
> I've seen it done but just can't remember where. Can someone send me a
url?
> 
> Thanks in advance,
> 
> Ian


-- 
Christian Cantrell
[EMAIL PROTECTED]
(571) 220-8659 (mobile)

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

--

Date: Tue, 29 Oct 2002 22:16:26 -0500
From: "Matt Liotta" <[EMAIL PROTECTED]>
Subject: RE: Shorter urls?
Message-ID: <000101c27fc2$bb740100$c801a8c0@FREEWILL>

This technique seems like a waste of processing time when the underlying
Java object already provides the same thing. From the documentation...

hashCode
public int hashCode()

R

RE: Disassemble Java Classes

2002-11-16 Thread Govind Bhat
Hi there,

You can use mocha or DJ
http://members.fortunecity.com/neshkov/dj.html
http://www.brouhaha.com/~eric/computers/mocha.html

I have used DJ and it works well.

Govind Bhat

-Original Message-
From: CF-Talk [mailto:[EMAIL PROTECTED]]
Sent: November 16, 2002 1:19 PM
To: [EMAIL PROTECTED]
Subject: CF-Talk-list V1 #109


CF-Talk-list   Sat, 16 Nov 2002  Volume 1 : Number
109

In this issue:

SOT Tool to disassemble Java class files
Re: SOT Tool to disassemble Java class files
Re:  Importing Studio snippets into DW?


--

Date: Sat, 16 Nov 2002 03:40:13 -0800
From: Dick Applebaum <[EMAIL PROTECTED]>
Subject: SOT Tool to disassemble Java class files
Message-ID: <[EMAIL PROTECTED]>

What do people use to disassemble Java Class files?

This is legitimate!

I am trying to figure out what functions exist in a Java applet, so I 
can interface them with JavaScript.

I am on Mac OS X, so 'Nix or Java based tools would be preferred.

TIA

Dick

~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The
place for dependable ColdFusion Hosting.

--

Date: Sat, 16 Nov 2002 07:02:31 -0500
From: "Michael Greenberg" <[EMAIL PROTECTED]>
Subject: Re: SOT Tool to disassemble Java class files
Message-ID: <009501c28d68$0ae35120$6401a8c0@VAIODESKTOP>

I remember someone saying on one of the Sun lists that you can do this in
JBuilder, but Im not sure how. Since you are on a Mac have looked you into
doing this in Code Warrior. I know I have decomplied classes with something
that hooks into Powerplant.It was a 3rd party tool and it was on OS 8.6 but
I can't remember. You might want to try one of the CW newsgroups as well.

I would also recommend pinging the Jrun list as well.

Thanks,
Michael

- Original Message -
From: "Dick Applebaum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, November 16, 2002 6:40 AM
Subject: SOT Tool to disassemble Java class files


> What do people use to disassemble Java Class files?
>
> This is legitimate!
>
> I am trying to figure out what functions exist in a Java applet, so I
> can interface them with JavaScript.
>
> I am on Mac OS X, so 'Nix or Java based tools would be preferred.
>
> TIA
>
> Dick
>
> 
~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The
place for dependable ColdFusion Hosting.

--

Date: Sat, 16 Nov 2002 13:38:00 +0100
From: "Massimo, Tiziana e Federica" <[EMAIL PROTECTED]>
Subject: Re:  Importing Studio snippets into DW?
Message-ID: <005601c28d6d$4662b1a0$f20a1dc2@HomePC>

> How can I import my Studio snippets into DW?
> 
http://www.dwfaq.com/Snippets/converter.asp


Massimo Foti
Team Macromedia Volunteer for Dreamweaver
http://www.macromedia.com/go/team


 

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

--

End of CF-Talk-list V1 #109
***




RE: CF-Talk-list V1 #377

2002-10-10 Thread Govind Bhat

We do but no problems with sessions. What problem did you encounter?

Regards
Govind Bhat
www.50plus.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 9:37 AM
To: [EMAIL PROTECTED]
Subject: CF-Talk-list V1 #377


CF-Talk-list   Thu, 10 Oct 2002  Volume 1 : Number
377

In this issue:

BigIP
RE: Visual Source Safe and CF Studio
Re: Visual Source Safe and CF Studio
RE: cfinclude inside a cffile tag?
CF Changed ip access
Custon Tag for opening/editing graphic files or PDF?
RE: CF Changed ip access
RE: CF Changed ip access


--

Date: Thu, 10 Oct 2002 08:58:20 -0400
From: "Everett, Al" <[EMAIL PROTECTED]>
Subject: BigIP
Message-ID: <319208EE9192D511AC590060979B532901F98B6B@EXCHSV01>

Anybody using the BigIP load balancer from F5? Have you had any problems
with sticky sessions?


-- 
Al Everett
Allied Office Products
www.askallied.com
mailto:[EMAIL PROTECTED]
v: 973-594-3209
f: 973-594-3626
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com




File Name/Directory?

2003-07-09 Thread Govind Bhat
Hi all,
 
We are getting this error with CFMX and Spectra 1.52
Directory and file exists but, CF generates this error? 
 
Thanks in advance
 
Regards
Govind Bhat
Visit us at www.50plus.com





  


 

Filename/directories are different
 
This is in D:\CFusionMX\runtime\logs\default-err.log
07/09 09:36:01 error Requested resource File not found: /index.cfm not found
07/09 09:42:08 error Requested resource File not found: /home_family/index.cfm not 
found
07/09 09:43:54 error Requested resource File not found: /health/index.cfm not found
07/09 09:45:26 error Requested resource File not found: /index.cfm not found
07/09 09:47:52 error Requested resource File not found: /index.cfm not found
 
This in CF logs:

Jul 9, 2003

  9:48 AM

  Error

  0

 



File not found: /home_family/adultlife.cfm The specific sequence of files included or 
processed is: null 

This is how page looks in the browser
Error Occurred While Processing Request 



File not found: /health/index.cfm 



Please try the following: 


*   Check the  CFML Reference Manual 
<http://www1.50plus.com/cfdocs/CFML_Reference/contents.htm>  to verify that you are 
using the correct syntax. 

*   Search the  Knowledge Base <http://www.macromedia.com/support/coldfusion/>  to 
find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Rogers Hi-Speed 
Internet)
Remote Address  65.39.193.167   
Referrer
Date/Time   09-Jul-03 09:43 AM  
Stack Trace (click to expand) 




coldfusion.runtime.TemplateNotFoundException: File not found: /health/index.cfm

at coldfusion.filter.PathFilter.invoke(Unknown Source)

at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)

at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)

at coldfusion.filter.BrowserFilter.invoke(Unknown Source)

at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)

at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)

at coldfusion.CfmServlet.service(Unknown Source)

at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)

at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)

at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)

at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)

at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)

at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)

at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



IL

 

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

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

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4