This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BFF0C0.7B8AAA00
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi guys--

        I am working on writing Palm Query Applications (PQAs).  One of the
big nasty deals with them is the lack of cookie support, so that means =
CF
sessions don't work.  One saving grace for the palm, however, is that =
it has
a unique identifier called the DeviceID - it is unique to each palm and =
can
be used as a number to key a session off of.

        Can anyone give me any pointers to creating a session management
system that is as easy to use as the native CF sessions?

        My current thinking is along these lines:

                1.  User logs in, DeviceID is sent and put in a table that
links username to deviceid.
                2.  We have another table which has 4 columns:
id(IDENTITY), username, variable_name, variable_contents.
                3.  Write a custom tag that takes in the name of a variable.
It then adds this variable and the variables current contents to the =
table,
so if we have:

                        <cfinclude template=3D"palmsession_header.cfm">

                        <cfset action=3D"monkey">
                        <cf_palmsessionregister variable=3D"action">

                        <cfinclude template=3D"palmsession_footer.cfm">

                        The table now has
                  ID   Username     Variable_Name   Variable_Contents
                        ---------------------------------------------------
                        1  |  bbatchel  |  action       |  monkey

                4.  Then, the script can do whatever it wants with that
variable....
                5.  At the end of the script, a file is included that
contains code which will updade the values of all variables registered =
with
the system to the current state of the variables after execution.
                6.  At the begining of the next page, a file is included
that will re-instate the variables in the table so they are available =
to the
script.
                7.  a <cf_palmsessionunregister variable=3D""> will be
available to remove variables from the session scope.

                8,  It is also relevant that in every URL I am including a
?deviceid=3D(deviceid from palm) so that the session is able to know =
who I am.
I will probably change this to a randomly generated number so that my
session key is not predictable.

        Does anyone think this is an effective way of faking sessions?

        Anyone have any better ideas?

        There is a tool that will act as a proxy for PQAs that will maintain
cookies, and hence real CF sessions would work, but I am afraid that =
will
cause other problems later on.

Thanks,
--b

--------------------------------------------
           Bryan D. Batchelder     =20
Palm Wireless/Internet Application Developer
W: 813.935.7100
W: 813-936-8844 x 423 (after 5:30PM EST)
H: 727-547-1322
--------------------------------------------
ConnectWise, Inc. (www.ConnectWise.com)
2803 West Busch Blvd, Suite 204
Tampa, FL 33618
--------------------------------------------

-----Original Message-----
From: Ang=E9l Stewart [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 18, 2000 9:39 AM
To: [EMAIL PROTECTED]
Subject: Re: List slowdown problems and solutions


*nod*
See??
When something goes wrong on E-Groups..who do ya call?
No one. You just sit and wait, maybe send off an email or two to tech
support and hope for the best.

When something goes wrong on the CF List? Who do ya call!!
MIKE!
=3D)
We have our own private tech support person, dedicated just to us..and =
all
for FREE too.

I mean..what MORE could you want??
;-P

Lets hear it for Mike!!
HIP HIP HOOORAAAYY!!!!
For he's a jolly good fe-llow..for he's a jolly good fe-llow!
*throws bits of confetti in the air*

We can all go over to the CF-DrunkenDebauchery list and have a REALLY =
good
time later!
;-P

-Gel
p.s. if you are having some method for donations etc. to keep the list
upgraded and running, there appear to be a lot of contributors to the =
list
from non-us organisations and companies. Don't forget to take easy
international donations into account ;-P

----- Original Message -----
From: Michael Dinowitz <[EMAIL PROTECTED]>

> The point is, I am working on keeping things going fast and upgrading
> services. I'm hoping that those who were effected by the slowdown =
(which
was
> only about 1/3 of the list) will understand and be patient with me.



------------------------------------------------------------------------=
----
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dlists/cf_t=
alk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' =
in
the body.

------_=_NextPart_001_01BFF0C0.7B8AAA00
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>Custom session management</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi guys--</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>I am =
working on writing Palm Query Applications (PQAs).&nbsp; One of the big =
nasty deals with them is the lack of cookie support, so that means CF =
sessions don't work.&nbsp; One saving grace for the palm, however, is =
that it has a unique identifier called the DeviceID - it is unique to =
each palm and can be used as a number to key a session off =
of.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>Can anyone =
give me any pointers to creating a session management system that is as =
easy to use as the native CF sessions?</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>My current =
thinking is along these lines:</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>1.&nbsp; User =
logs in, DeviceID is sent and put in a table that links username to =
deviceid.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>2.&nbsp; We =
have another table which has 4 columns:&nbsp; id(IDENTITY), username, =
variable_name, variable_contents.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>3.&nbsp; =
Write a custom tag that takes in the name of a variable.&nbsp; It then =
adds this variable and the variables current contents to the table, so =
if we have:</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>&lt;cfinclude =
template=3D&quot;palmsession_header.cfm&quot;&gt;</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>&lt;cfset =
action=3D&quot;monkey&quot;&gt;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&lt;cf_palmsessionregister =
variable=3D&quot;action&quot;&gt;</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>&lt;cfinclude =
template=3D&quot;palmsession_footer.cfm&quot;&gt;</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>The table now =
has</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID&nbsp;&nbsp; =
Username&nbsp;&nbsp;&nbsp;&nbsp; Variable_Name&nbsp;&nbsp; =
Variable_Contents</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>---------------------------------------------------</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>1&nbsp; =
|&nbsp; bbatchel&nbsp; |&nbsp; =
action&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; monkey</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>4.&nbsp; =
Then, the script can do whatever it wants with that variable....</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>5.&nbsp; At =
the end of the script, a file is included that contains code which will =
updade the values of all variables registered with the system to the =
current state of the variables after execution.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>6.&nbsp; At =
the begining of the next page, a file is included that will re-instate =
the variables in the table so they are available to the =
script.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>7.&nbsp; a =
&lt;cf_palmsessionunregister variable=3D&quot;&quot;&gt; will be =
available to remove variables from the session scope.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>8,&nbsp; It =
is also relevant that in every URL I am including a =
?deviceid=3D(deviceid from palm) so that the session is able to know =
who I am.&nbsp; I will probably change this to a randomly generated =
number so that my session key is not predictable.</FONT></P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>Does =
anyone think this is an effective way of faking sessions?</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>Anyone =
have any better ideas?</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>There is a =
tool that will act as a proxy for PQAs that will maintain cookies, and =
hence real CF sessions would work, but I am afraid that will cause =
other problems later on.</FONT></P>

<P><FONT SIZE=3D2>Thanks,</FONT>
<BR><FONT SIZE=3D2>--b</FONT>
</P>

<P><FONT SIZE=3D2>--------------------------------------------</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Bryan D. Batchelder&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2>Palm Wireless/Internet Application Developer</FONT>
<BR><FONT SIZE=3D2>W: 813.935.7100</FONT>
<BR><FONT SIZE=3D2>W: 813-936-8844 x 423 (after 5:30PM EST)</FONT>
<BR><FONT SIZE=3D2>H: 727-547-1322</FONT>
<BR><FONT SIZE=3D2>--------------------------------------------</FONT>
<BR><FONT SIZE=3D2>ConnectWise, Inc. (www.ConnectWise.com)</FONT>
<BR><FONT SIZE=3D2>2803 West Busch Blvd, Suite 204</FONT>
<BR><FONT SIZE=3D2>Tampa, FL 33618</FONT>
<BR><FONT SIZE=3D2>--------------------------------------------</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Ang=E9l Stewart [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Tuesday, July 18, 2000 9:39 AM</FONT>
<BR><FONT SIZE=3D2>To: [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>Subject: Re: List slowdown problems and =
solutions</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>*nod*</FONT>
<BR><FONT SIZE=3D2>See??</FONT>
<BR><FONT SIZE=3D2>When something goes wrong on E-Groups..who do ya =
call?</FONT>
<BR><FONT SIZE=3D2>No one. You just sit and wait, maybe send off an =
email or two to tech</FONT>
<BR><FONT SIZE=3D2>support and hope for the best.</FONT>
</P>

<P><FONT SIZE=3D2>When something goes wrong on the CF List? Who do ya =
call!!</FONT>
<BR><FONT SIZE=3D2>MIKE!</FONT>
<BR><FONT SIZE=3D2>=3D)</FONT>
<BR><FONT SIZE=3D2>We have our own private tech support person, =
dedicated just to us..and all</FONT>
<BR><FONT SIZE=3D2>for FREE too.</FONT>
</P>

<P><FONT SIZE=3D2>I mean..what MORE could you want??</FONT>
<BR><FONT SIZE=3D2>;-P</FONT>
</P>

<P><FONT SIZE=3D2>Lets hear it for Mike!!</FONT>
<BR><FONT SIZE=3D2>HIP HIP HOOORAAAYY!!!!</FONT>
<BR><FONT SIZE=3D2>For he's a jolly good fe-llow..for he's a jolly good =
fe-llow!</FONT>
<BR><FONT SIZE=3D2>*throws bits of confetti in the air*</FONT>
</P>

<P><FONT SIZE=3D2>We can all go over to the CF-DrunkenDebauchery list =
and have a REALLY good</FONT>
<BR><FONT SIZE=3D2>time later!</FONT>
<BR><FONT SIZE=3D2>;-P</FONT>
</P>

<P><FONT SIZE=3D2>-Gel</FONT>
<BR><FONT SIZE=3D2>p.s. if you are having some method for donations =
etc. to keep the list</FONT>
<BR><FONT SIZE=3D2>upgraded and running, there appear to be a lot of =
contributors to the list</FONT>
<BR><FONT SIZE=3D2>from non-us organisations and companies. Don't =
forget to take easy</FONT>
<BR><FONT SIZE=3D2>international donations into account ;-P</FONT>
</P>

<P><FONT SIZE=3D2>----- Original Message -----</FONT>
<BR><FONT SIZE=3D2>From: Michael Dinowitz =
&lt;[EMAIL PROTECTED]&gt;</FONT>
</P>

<P><FONT SIZE=3D2>&gt; The point is, I am working on keeping things =
going fast and upgrading</FONT>
<BR><FONT SIZE=3D2>&gt; services. I'm hoping that those who were =
effected by the slowdown (which</FONT>
<BR><FONT SIZE=3D2>was</FONT>
<BR><FONT SIZE=3D2>&gt; only about 1/3 of the list) will understand and =
be patient with me.</FONT>
</P>
<BR>
<BR>

<P><FONT =
SIZE=3D2>---------------------------------------------------------------=
---------------</FONT>
<BR><FONT SIZE=3D2>Archives: <A =
HREF=3D"http://www.mail-archive.com/cf-talk@houseoffusion.com/" =
TARGET=3D"_blank">http://www.mail-archive.com/cf-talk@houseoffusion.com/=
</A></FONT>
<BR><FONT SIZE=3D2>To Unsubscribe visit <A =
HREF=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlists&body=3Dli=
sts/cf_talk" =
TARGET=3D"_blank">http://www.houseoffusion.com/index.cfm?sidebar=3Dlists=
&body=3Dlists/cf_talk</A> or send a message to =
[EMAIL PROTECTED] with 'unsubscribe' in the =
body.</FONT></P>

</BODY>
</HTML>
------_=_NextPart_001_01BFF0C0.7B8AAA00--
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to