-
XML solution for session(s)
Lior:
Just wanted to know if the ASP Sesion ID is any different from a cookie that
you may create...
Also, can i use the XML solution for a single server and multiple clients,
i'm not sure how this is done.(even if just to get a little practice with
XML)
Thanks in advance,
Sean.
"Lior Amar" <lior@ostnet.com> wrote:
>Do you want a solution that works on a web farm or on one machine?
>
>One Machine solution (EVIL SOLUTION): Use the Session object that IIS
>exposes to you
>
>Farm Solution: Use a database to identify the user. Simple solution, have
>a GUID added to the URL and have that guid follow the user with every click.
>Once that is done all you need to do is create a simple way to store the
>info in a DB (I recommend creating an XML document with all the info).
>OSTnet does exactly that and we XMLify (I know geeky word) all the info
a
>user has and have it follow through. Our XML property bag engine will be
>available for download on the site shortly to all members.
>
>
>
>--
>Lee Amar
>Chief Technology Officer
>www.ostnet.com
>OSTnet OpenSource Technologies Inc
>lior@ostnet.com
>OSTnet develops software and subcontracts much of the work to registered
>developers over the Internet. Members of www.ostnet.com are free to view
all
>company projects open for tender (in the Projects section of the Developer
>Home) and can apply to work on these projects. We prequalify all of our
>members to determine their level and areas of expertise. Please feel free
to
>sign up at your leisure and write the exams in order to qualify yourself
for
>OSTnet projects.
>
>
>"Sean" <seangallaghar@hotmail.com> wrote in message
>news:39f9d926$1@news.devx.com...
>>
>> Hi
>>
>> How do i get a temporary session id for the time a user navigates a
>website?
>>
>> I need to capture all the information (assume user checks a particular
>check
>> box, a specific radio button, etc) and store it in a database. I guess
i
>> need a session variable for the entire time he's navigating the site.
>>
>> Need help with this soon! Thanks.
>>
>> -- Sean.
>
>
-
Re: XML solution for session(s)
The solution will work with anything from one server to n servers. The idea
is simple, create an XML structure that represents data for your objects and
then store them in a nice big fat VARCHAR or blob field. Then have a GUID
or number (as long as it's unique) identify the user. Have that ID or GUID
follow the user all over the site (attach it to all the querystrings of your
site). Every page that gets loaded first and foremost goes and retrieves
that data.
Like I said, we're going to post all this code on the site...we've been very
busy trying to nail down a few contracts for the site and trying to finish
analysis so we can post them on the site. I've gotten over 30 emails in the
last week asking me about all the code we said we were giving away and my
promise stands. We just want to have a chance to finish commenting the code
and writing some specs on how to use it....otherwise it's just gibberish.
If you're a member of the site (www.ostnet.com) you'll be able to download
the code. My objective is to have the code available by Monday.
In mean time, I'll be glad to assist in any way I can,
--
Lee Amar
Chief Technology Officer
www.ostnet.com
OSTnet OpenSource Technologies Inc
lior@ostnet.com
OSTnet develops software and subcontracts much of the work to registered
developers over the Internet. Members of www.ostnet.com are free to view all
company projects open for tender (in the Projects section of the Developer
Home) and can apply to work on these projects. We prequalify all of our
members to determine their level and areas of expertise. Please feel free to
sign up at your leisure and write the exams in order to qualify yourself for
OSTnet projects.
"Sean" <seangallaghar@hotmail.com> wrote in message
news:39fe05a1$1@news.devx.com...
>
> Lior:
>
>
> Just wanted to know if the ASP Sesion ID is any different from a cookie
that
> you may create...
>
> Also, can i use the XML solution for a single server and multiple clients,
> i'm not sure how this is done.(even if just to get a little practice with
> XML)
>
> Thanks in advance,
>
> Sean.
>
> "Lior Amar" <lior@ostnet.com> wrote:
> >Do you want a solution that works on a web farm or on one machine?
> >
> >One Machine solution (EVIL SOLUTION): Use the Session object that IIS
> >exposes to you
> >
> >Farm Solution: Use a database to identify the user. Simple solution,
have
> >a GUID added to the URL and have that guid follow the user with every
click.
> >Once that is done all you need to do is create a simple way to store the
> >info in a DB (I recommend creating an XML document with all the info).
> >OSTnet does exactly that and we XMLify (I know geeky word) all the info
> a
> >user has and have it follow through. Our XML property bag engine will be
> >available for download on the site shortly to all members.
> >
> >
> >
> >--
> >Lee Amar
> >Chief Technology Officer
> >www.ostnet.com
> >OSTnet OpenSource Technologies Inc
> >lior@ostnet.com
> >OSTnet develops software and subcontracts much of the work to registered
> >developers over the Internet. Members of www.ostnet.com are free to view
> all
> >company projects open for tender (in the Projects section of the
Developer
> >Home) and can apply to work on these projects. We prequalify all of our
> >members to determine their level and areas of expertise. Please feel free
> to
> >sign up at your leisure and write the exams in order to qualify yourself
> for
> >OSTnet projects.
> >
> >
> >"Sean" <seangallaghar@hotmail.com> wrote in message
> >news:39f9d926$1@news.devx.com...
> >>
> >> Hi
> >>
> >> How do i get a temporary session id for the time a user navigates a
> >website?
> >>
> >> I need to capture all the information (assume user checks a particular
> >check
> >> box, a specific radio button, etc) and store it in a database. I guess
> i
> >> need a session variable for the entire time he's navigating the site.
> >>
> >> Need help with this soon! Thanks.
> >>
> >> -- Sean.
> >
> >
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|