RE: Need help interpreting error message.

2000-12-09 Thread Thomas Brown

The only thing that I can think of is that might only
have to create the struct if you if statement is false...















also...you might want to look at using cfscript as it
will speed things up a little.

Tom

-Original Message-
From: Lon Lentz [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 10:45 AM
To: CF-Talk
Subject: RE: Need help interpreting error message.


  Here's a little of the code before and after the error causing line.


















Lon Lentz
Applications Developer & CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210

-Original Message-
From: Thomas Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 11:05 PM
To: CF-Talk
Subject: RE: Need help interpreting error message.


can you send the code surrounding this as well???
~~
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: Need help interpreting error message.

2000-12-08 Thread Lon Lentz

  Here's a little of the code before and after the error causing line.


















Lon Lentz
Applications Developer & CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210

-Original Message-
From: Thomas Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 11:05 PM
To: CF-Talk
Subject: RE: Need help interpreting error message.


can you send the code surrounding this as well???


~~
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: Need help interpreting error message.

2000-12-08 Thread Lon Lentz


I'll check it out. We've been using session.user for a long time. It's in
our login script and is where all the user's settings are loaded in. I don't
think anything in the template has changed. Although there have been a lot
of other changes recently.

Thanks!


Lon Lentz
Applications Developer & CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210

-Original Message-
From: David Cummins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 11:31 PM
To: CF-Talk
Subject: Re: Need help interpreting error message.


Not sure...

Try two things:
(a) Try a different variable name than user.
(b) Try assigning it to a local variable, then setting the session variable
equal to that.

I wonder if session variables don't support structures...

If you're using CFSCRIPT, there may be some error the line before causing it
to
misunderstand what session.user is.


~~
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: Need help interpreting error message.

2000-12-07 Thread David Cummins

Not sure...

Try two things:
(a) Try a different variable name than user.
(b) Try assigning it to a local variable, then setting the session variable
equal to that.

I wonder if session variables don't support structures...

If you're using CFSCRIPT, there may be some error the line before causing it to
misunderstand what session.user is.

Lon Lentz wrote:
> 
>   Anyone know why we should be getting the message below? Is this an
> indicator that the user variable already exists?
> 
> An error occurred while evaluating the expression:
> 
>  session.user = structNew()
> 
> Error near line 199, column 7.
> 
> 
> 
> Cannot assign result to symbol session.user
> 
> Lon Lentz
> Applications Developer & CyberEntomologist - Alvion Technologies
> DataWarehousing and List Sales - Market Your Lists on the Net!
> [EMAIL PROTECTED]
> 941-574-8600 Ext. 210

~~
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: Need help interpreting error message.

2000-12-07 Thread Thomas Brown

can you send the code surrounding this as well???

-Original Message-
From: Lon Lentz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 5:25 PM
To: CF-Talk
Subject: Need help interpreting error message.



  Anyone know why we should be getting the message below? Is this an
indicator that the user variable already exists?



An error occurred while evaluating the expression:

 session.user = structNew()

Error near line 199, column 7.



Cannot assign result to symbol session.user




Lon Lentz
Applications Developer & CyberEntomologist - Alvion Technologies
DataWarehousing and List Sales - Market Your Lists on the Net!
[EMAIL PROTECTED]
941-574-8600 Ext. 210
~~
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