RE: R U aggry with me on session concept?

2001-04-16 Thread mahmad


Hello All
Here is a simple question .Plz reply me.
I want to know ,what things in CF make the difference  from ASP JSP.
Why u recommend the site should be made in CF instead of ASP.
Thanks in advance..
Mumtaz



~~
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: R U aggry with me on session concept?

2001-03-29 Thread Andy Ewings

Yup sounds ok to me.  The only thing I do extra is to put some code in my
Application.cmf which creates a string containing the CFID and CFTOKEN if
the user has session level cookies turned off.  I then append this string to
every hyperlink, form posting, CFLocation in my site to ensure state is
maintained

-- 
Andrew Ewings
Project Manager
Thoughtbubble Ltd 
http://www.thoughtbubble.net 
-- 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Tel: +44 (0) 20 7387 8890 
-- 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 488 9131
-- 
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890. 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 12:39
To: CF-Talk
Subject: R U aggry with me on session concept?



Dear Sir  Andy
i was also suffering from such type of problem.
When the user logs in by his login name and password.At this time we create
a session variable.
And when the user will request for  any page, we will check that session
variable is in existance.?
we check at the top of every page whether session variable is alive or not
...OR simply we write statements in
Application.cfm file.
creation variable process:
   session.started="true"
To check session variable existance.
cfif not isDefined("session.started")
cflocation template="login.cfm"
/cfif
Plz give response.
Best Regards

Muhammad Mumtaz Ahmad
software Engineer.
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307
~~
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: R U aggry with me on session concept?

2001-03-29 Thread Steve Martin

Why don't you just use the premade session.URLToken?

 Yup sounds ok to me.  The only thing I do extra is to put some code in my
 Application.cmf which creates a string containing the CFID and CFTOKEN if
 the user has session level cookies turned off.  I then append
 this string to
 every hyperlink, form posting, CFLocation in my site to ensure state is
 maintained

 --
 Andrew Ewings
 Project Manager
 Thoughtbubble Ltd
 http://www.thoughtbubble.net
 --
 United Kingdom
 http://www.thoughtbubble.co.uk/
 Tel: +44 (0) 20 7387 8890
 --
 New Zealand
 http://www.thoughtbubble.co.nz/
 Tel: +64 (0) 9 488 9131
 --
 The information in this email and in any attachments is confidential and
 intended solely for the attention and use of the named addressee(s). Any
 views or opinions presented are solely those of the author and do not
 necessarily represent those of Thoughtbubble. This information may be
 subject to legal, professional or other privilege and further distribution
 of it is strictly prohibited without our authority. If you are not the
 intended recipient, you are not authorised to disclose, copy,
 distribute, or
 retain this message. Please notify us on +44 (0)207 387 8890.



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 29 March 2001 12:39
 To: CF-Talk
 Subject: R U aggry with me on session concept?



 Dear Sir  Andy
 i was also suffering from such type of problem.
 When the user logs in by his login name and password.At this time
 we create
 a session variable.
 And when the user will request for  any page, we will check that session
 variable is in existance.?
 we check at the top of every page whether session variable is alive or not
 ...OR simply we write statements in
 Application.cfm file.
 creation variable process:
session.started="true"
 To check session variable existance.
 cfif not isDefined("session.started")
 cflocation template="login.cfm"
 /cfif
 Plz give response.
 Best Regards

 Muhammad Mumtaz Ahmad
 software Engineer.
 AcroLogix (Pvt) Ltd.
 106/3, Saint Johns Park
 Lahore, Pakistan.
 Tel: 92-42-6664301~04  Fax: 6664307

~~
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: R U aggry with me on session concept?

2001-03-29 Thread mahmad


Sir Andy
Again i am disturbing you.
If Client's browser cookies are disabled then definetly we have to pass a
URLTOKEN or (CFID+CFTOKEN) .So server can recognise the state of client.
Now the question is Can we handle it in Application.cfm?
If we can handle it then let me know?
otherwisw ,we have to pass this string(URLTOKEN) to each link (form or
hyperlink).
Much thanks for quick respose.
Thanks
Muhammad Mumtaz Ahmad
Software Engineer
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307



   
   
Andy Ewings
   
andy.e@thoughtbTo: CF-Talk 
[EMAIL PROTECTED]   
ubble.net  cc:
   
Subject: RE: R U aggry with me on 
session concept?
03/29/01 04:43 
   
PM 
   
Please respond 
   
to cf-talk 
   
   
   
   
   




Yup sounds ok to me.  The only thing I do extra is to put some code in my
Application.cmf which creates a string containing the CFID and CFTOKEN if
the user has session level cookies turned off.  I then append this string
to
every hyperlink, form posting, CFLocation in my site to ensure state is
maintained

--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute,
or
retain this message. Please notify us on +44 (0)207 387 8890.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 12:39
To: CF-Talk
Subject: R U aggry with me on session concept?



Dear Sir  Andy
i was also suffering from such type of problem.
When the user logs in by his login name and password.At this time we create
a session variable.
And when the user will request for  any page, we will check that session
variable is in existance.?
we check at the top of every page whether session variable is alive or not
OR simply we write statements in
Application.cfm file.
creation variable process:
   session.started="true"
To check session variable existance.
cfif not isDefined("session.started")
cflocation template="login.cfm"
/cfif
Plz give response.
Best Regards

Muhammad Mumtaz Ahmad
software Engineer.
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307
~~
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: R U aggry with me on session concept?

2001-03-29 Thread Andy Ewings

As far as I'm aware you have to go through your whole site appending the
urltoken to every hyperlink, form posting and cflocation.  You can't do this
in one hit from within the application.cfm.

-- 
Andrew Ewings
Project Manager
Thoughtbubble Ltd 
http://www.thoughtbubble.net 
-- 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Tel: +44 (0) 20 7387 8890 
-- 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 488 9131
-- 
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890. 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 13:12
To: CF-Talk
Subject: RE: R U aggry with me on session concept?



Sir Andy
Again i am disturbing you.
If Client's browser cookies are disabled then definetly we have to pass a
URLTOKEN or (CFID+CFTOKEN) .So server can recognise the state of client.
Now the question is Can we handle it in Application.cfm?
If we can handle it then let me know?
otherwisw ,we have to pass this string(URLTOKEN) to each link (form or
hyperlink).
Much thanks for quick respose.
Thanks
Muhammad Mumtaz Ahmad
Software Engineer
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307



 

Andy Ewings

andy.e@thoughtbTo: CF-Talk
[EMAIL PROTECTED]   
ubble.net  cc:

Subject: RE: R U aggry with
me on session concept?
03/29/01 04:43

PM

Please respond

to cf-talk

 

 





Yup sounds ok to me.  The only thing I do extra is to put some code in my
Application.cmf which creates a string containing the CFID and CFTOKEN if
the user has session level cookies turned off.  I then append this string
to
every hyperlink, form posting, CFLocation in my site to ensure state is
maintained

--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute,
or
retain this message. Please notify us on +44 (0)207 387 8890.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 12:39
To: CF-Talk
Subject: R U aggry with me on session concept?



Dear Sir  Andy
i was also suffering from such type of problem.
When the user logs in by his login name and password.At this time we create
a session variable.
And when the user will request for  any page, we will check that session
variable is in existance.?
we check at the top of every page whether session variable is alive or not
.OR simply we write statements in
Application.cfm file.
creation variable process:
   session.started="true"
To check session variable existance.
cfif not isDefined("session.started")
cflocation template="login.cfm"
/cfif
Plz give response.
Best Regards

Muhammad Mumtaz Ahmad
software Engineer.
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307
~~
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

RE: R U aggry with me on session concept?

2001-03-29 Thread mahmad


Thank u very much
My ideas exactly match with u.
ok

Muhammad Mumtaz Ahmad

AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307


   
   
Andy Ewings
   
andy.e@thoughtbTo: CF-Talk 
[EMAIL PROTECTED]   
ubble.net  cc:
   
Subject: RE: R U aggry with me on 
session concept?
03/29/01 05:15 
   
PM 
   
Please respond 
   
to cf-talk 
   
   
   
   
   




As far as I'm aware you have to go through your whole site appending the
urltoken to every hyperlink, form posting and cflocation.  You can't do
this
in one hit from within the application.cfm.

--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute,
or
retain this message. Please notify us on +44 (0)207 387 8890.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 13:12
To: CF-Talk
Subject: RE: R U aggry with me on session concept?



Sir Andy
Again i am disturbing you.
If Client's browser cookies are disabled then definetly we have to pass a
URLTOKEN or (CFID+CFTOKEN) .So server can recognise the state of client.
Now the question is Can we handle it in Application.cfm?
If we can handle it then let me know?
otherwisw ,we have to pass this string(URLTOKEN) to each link (form or
hyperlink).
Much thanks for quick respose.
Thanks
Muhammad Mumtaz Ahmad
Software Engineer
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307





Andy Ewings

andy.e@thoughtbTo: CF-Talk
[EMAIL PROTECTED]
ubble.net  cc:

Subject: RE: R U aggry with
me on session concept?
03/29/01 04:43

PM

Please respond

to cf-talk









Yup sounds ok to me.  The only thing I do extra is to put some code in my
Application.cmf which creates a string containing the CFID and CFTOKEN if
the user has session level cookies turned off.  I then append this string
to
every hyperlink, form posting, CFLocation in my site to ensure state is
maintained

--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional

RE: R U aggry with me on session concept?

2001-03-29 Thread mahmad


Andy
I am in confusion.U said in ur previous message that u have done it all in
Application.cfm.

"Yup sounds ok to me.  The only thing I do extra is to put some code in my
Application.cmf which creates a string containing the CFID and CFTOKEN if
the user has session level cookies turned off.  I then append this string
to
every hyperlink, form posting, CFLocation in my site to ensure state is
maintained".
It is ur message .
Ur both messages gives two different solutions to same promlem.
Plz clear it?
Thanks
Mumtaz



   
   
Andy Ewings
   
andy.e@thoughtbTo: CF-Talk 
[EMAIL PROTECTED]   
ubble.net  cc:
   
Subject:     RE: R U aggry with me on 
session concept?
03/29/01 05:15 
   
PM 
   
Please respond 
   
to cf-talk 
   
   
   
   
   




As far as I'm aware you have to go through your whole site appending the
urltoken to every hyperlink, form posting and cflocation.  You can't do
this
in one hit from within the application.cfm.

--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0) 9 488 9131
--
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute,
or
retain this message. Please notify us on +44 (0)207 387 8890.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29 March 2001 13:12
To: CF-Talk
Subject: RE: R U aggry with me on session concept?



Sir Andy
Again i am disturbing you.
If Client's browser cookies are disabled then definetly we have to pass a
URLTOKEN or (CFID+CFTOKEN) .So server can recognise the state of client.
Now the question is Can we handle it in Application.cfm?
If we can handle it then let me know?
otherwisw ,we have to pass this string(URLTOKEN) to each link (form or
hyperlink).
Much thanks for quick respose.
Thanks
Muhammad Mumtaz Ahmad
Software Engineer
AcroLogix (Pvt) Ltd.
106/3, Saint Johns Park
Lahore, Pakistan.
Tel: 92-42-6664301~04  Fax: 6664307





Andy Ewings

andy.e@thoughtbTo: CF-Talk
[EMAIL PROTECTED]
ubble.net  cc:

Subject:     RE: R U aggry with
me on session concept?
03/29/01 04:43

PM

Please respond

to cf-talk









Yup sounds ok to me.  The only thing I do extra is to put some code in my
Application.cmf which creates a string containing the CFID and CFTOKEN if
the user has session level cookies turned off.  I then append this string
to
every hyperlink, form posting, CFLocation in my site to ensure state is
maintained

--
Andrew Ewings
Project Manager
Thoughtbubble Ltd
http://www.thoughtbubble.net
--
United Kingdom
http://www.thoughtbubble.co.uk/
Tel: +44 (0) 20 7387 8890
--
New Zealand
http://www.thoughtbubble.co.nz/
Tel: +64 (0)