How can I set client side values as server side values?

Hi,

Can anyone tell me how I can get client side values such as
document.referrer, navigator.appName etc... into server side scripts?
There are some client side values I'd like to set as session vars and
insert into the db?

How do I go about this?

Thanks for any pointers

Davlon
PS (I'm using powersite 7.1.0.300)


0 GothicCastle 8/7/2000 3:32:29 PM
Pass them as page parameters, e.g.,

http://myserver/myurl?document.referrer=whatever&navigator.appName=yadayada

Then, in your server-side script, just loop through the document.value array
and get these values.

--
pbm_hopethishelps,
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) - http://sdn.sybase.com
MySybase - http://my.sybase.com

"^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in message
news:398ED68C.E978B802@hotmail.com...
> Hi,
>
> Can anyone tell me how I can get client side values such as
> document.referrer, navigator.appName etc... into server side scripts?
> There are some client side values I'd like to set as session vars and
> insert into the db?
>
> How do I go about this?
>
> Thanks for any pointers
>
> Davlon
> PS (I'm using powersite 7.1.0.300)
>
>


0 Roy 8/7/2000 3:43:06 PM
--------------DBB57F9885D6DFF65B745BEB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Roy,

Thanks for the reply.

If I'm passing these as Page Params could I not pick them up using
psDocument.GetParam('value');?

Davlon

"Roy Kiesler [TeamSybase]" wrote:

> Pass them as page parameters, e.g.,
>
> http://myserver/myurl?document.referrer=whatever&navigator.appName=yadayada
>
> Then, in your server-side script, just loop through the document.value array
> and get these values.
>
> --
> pbm_hopethishelps,
> Roy Kiesler [TeamSybase]
> Sybase Developer Network (SDN) - http://sdn.sybase.com
> MySybase - http://my.sybase.com
>
> "^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in message
> news:398ED68C.E978B802@hotmail.com...
> > Hi,
> >
> > Can anyone tell me how I can get client side values such as
> > document.referrer, navigator.appName etc... into server side scripts?
> > There are some client side values I'd like to set as session vars and
> > insert into the db?
> >
> > How do I go about this?
> >
> > Thanks for any pointers
> >
> > Davlon
> > PS (I'm using powersite 7.1.0.300)
> >
> >

--------------DBB57F9885D6DFF65B745BEB
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit



Roy,

Thanks for the reply.

If I'm passing these as Page Params could I not pick them up using psDocument.GetParam('value');?

Davlon

"Roy Kiesler [TeamSybase]" wrote:

Pass them as page parameters, e.g.,

http://myserver/myurl?document.referrer=whatever&navigator.appName=yadayada

Then, in your server-side script, just loop through the document.value array
and get these values.

--
pbm_hopethishelps,
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) - http://sdn.sybase.com
MySybase - http://my.sybase.com

"^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in message
news:398ED68C.E978B802@hotmail.com...
> Hi,
>
> Can anyone tell me how I can get client side values such as
> document.referrer, navigator.appName etc... into server side scripts?
> There are some client side values I'd like to set as session vars and
> insert into the db?
>
> How do I go about this?
>
> Thanks for any pointers
>
> Davlon
> PS (I'm using powersite 7.1.0.300)
>
>

--------------DBB57F9885D6DFF65B745BEB--
0 GothicCastle 8/7/2000 4:19:11 PM
This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C0006F.44F74700
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Sure -- after all, psDocument.GetParam() is nothing but a wrapper around =
the document.value array -- look in the objMod.ssc script to see how =
it's implemented.

--=20
pbm_hopethishelps,
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) - http://sdn.sybase.com
MySybase - http://my.sybase.com

  "^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in message =
news:398EE17F.5F0FC493@hotmail.com...
  Roy,=20
  Thanks for the reply.=20

  If I'm passing these as Page Params could I not pick them up using =
psDocument.GetParam('value');?=20

  Davlon=20

  "Roy Kiesler [TeamSybase]" wrote:=20

    Pass them as page parameters, e.g.,=20
    =
http://myserver/myurl?document.referrer=3Dwhatever&navigator.appName=3Dya=
dayada=20

    Then, in your server-side script, just loop through the =
document.value array=20
    and get these values.=20

    --=20
    pbm_hopethishelps,=20
    Roy Kiesler [TeamSybase]=20
    Sybase Developer Network (SDN) - http://sdn.sybase.com=20
    MySybase - http://my.sybase.com=20

    "^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in =
message=20
    news:398ED68C.E978B802@hotmail.com...=20
    > Hi,=20
    >=20
    > Can anyone tell me how I can get client side values such as=20
    > document.referrer, navigator.appName etc... into server side =
scripts?=20
    > There are some client side values I'd like to set as session vars =
and=20
    > insert into the db?=20
    >=20
    > How do I go about this?=20
    >=20
    > Thanks for any pointers=20
    >=20
    > Davlon=20
    > PS (I'm using powersite 7.1.0.300)=20
    >=20
    >


------=_NextPart_000_0008_01C0006F.44F74700
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








Sure -- after all, = psDocument.GetParam() is=20 nothing but a wrapper around the document.value array -- look in the = objMod.ssc=20 script to see how it's implemented.

--
pbm_hopethishelps,
Roy = Kiesler=20 [TeamSybase]
Sybase Developer Network (SDN) - http://sdn.sybase.com
MySybase - = http://my.sybase.com
"^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail= ..com>=20 wrote in message news:398EE17F.5F0FC493@hotmai= l.com...
Roy,=20

Thanks for the reply.=20

If I'm passing these as Page Params could I not pick them up using=20 psDocument.GetParam('value');?=20

Davlon=20

"Roy Kiesler [TeamSybase]" wrote:=20

Pass them as page parameters, e.g.,=20

http://myserver/myurl?document.referrer=3Dwhatever&am= p;navigator.appName=3Dyadayada=20

Then, in your server-side script, just loop through the = document.value=20 array
and get these values.=20

--
pbm_hopethishelps,
Roy Kiesler [TeamSybase]
Sybase = Developer Network (SDN) - http://sdn.sybase.com =
MySybase - http://my.sybase.com=20

"^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote = in=20 message
news:398ED68C.E978B802@hotmai= l.com...=20
> Hi,
>
> Can anyone tell me how I can get = client side=20 values such as
> document.referrer, navigator.appName etc... = into=20 server side scripts?
> There are some client side values I'd = like to=20 set as session vars and
> insert into the db?
> =
> How=20 do I go about this?
>
> Thanks for any pointers =
>=20
> Davlon
> PS (I'm using powersite 7.1.0.300)
> =
>

------=_NextPart_000_0008_01C0006F.44F74700--
0 Roy 8/7/2000 4:59:06 PM
--------------42A4906A33A0B735A117EB47
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thanks Roy,

I'll give it a try.

Davlon

"Roy Kiesler [TeamSybase]" wrote:

> Sure -- after all, psDocument.GetParam() is nothing but a wrapper
> around the document.value array -- look in the objMod.ssc script to
> see how it's implemented.
> --
> pbm_hopethishelps,
> Roy Kiesler [TeamSybase]
> Sybase Developer Network (SDN) - http://sdn.sybase.com
> MySybase - http://my.sybase.com
>
>      "^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote
>      in message news:398EE17F.5F0FC493@hotmail.com...Roy,
>
>      Thanks for the reply.
>
>      If I'm passing these as Page Params could I not pick them up
>      using psDocument.GetParam('value');?
>
>      Davlon
>
>      "Roy Kiesler [TeamSybase]" wrote:
>
>     > Pass them as page parameters, e.g.,
>     >
>     > http://myserver/myurl?document.refe
>     > rer=whatever&navigator.appName=yadayada
>     >
>     > Then, in your server-side script, just loop through the
>     > document.value array
>     > and get these values.
>     >
>     > --
>     > pbm_hopethishelps,
>     > Roy Kiesler [TeamSybase]
>     > Sybase Developer Network (SDN) - http://sdn.sybase.com
>     > MySybase - http://my.sybase.com
>     >
>     > "^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com>
>     > wrote in message
>     > news:398ED68C.E978B802@hotmail.com...
>     > > Hi,
>     > >
>     > > Can anyone tell me how I can get client side values such
>     > as
>     > > document.referrer, navigator.appName etc... into server
>     > side scripts?
>     > > There are some client side values I'd like to set as
>     > session vars and
>     > > insert into the db?
>     > >
>     > > How do I go about this?
>     > >
>     > > Thanks for any pointers
>     > >
>     > > Davlon
>     > > PS (I'm using powersite 7.1.0.300)
>     > >
>     > >
>

--------------42A4906A33A0B735A117EB47
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit




Thanks Roy,

I'll give it a try.

Davlon

"Roy Kiesler [TeamSybase]" wrote:

Sure -- after all, psDocument.GetParam() is nothing but a wrapper around the document.value array -- look in the objMod.ssc script to see how it's implemented. 
--
pbm_hopethishelps,
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) - http://sdn.sybase.com
MySybase - http://my.sybase.com
"^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in message news:398EE17F.5F0FC493@hotmail.com...Roy,

Thanks for the reply.

If I'm passing these as Page Params could I not pick them up using psDocument.GetParam('value');?

Davlon

"Roy Kiesler [TeamSybase]" wrote:

Pass them as page parameters, e.g.,

http://myserver/myurl?document.referrer=whatever&navigator.appName=yadayada

Then, in your server-side script, just loop through the document.value array
and get these values.

--
pbm_hopethishelps,
Roy Kiesler [TeamSybase]
Sybase Developer Network (SDN) - http://sdn.sybase.com
MySybase - http://my.sybase.com

"^*^GothicCastle^*^" <^*^GothicCastle^*^@hotmail.com> wrote in message
news:398ED68C.E978B802@hotmail.com...
> Hi,
>
> Can anyone tell me how I can get client side values such as
> document.referrer, navigator.appName etc... into server side scripts?
> There are some client side values I'd like to set as session vars and
> insert into the db?
>
> How do I go about this?
>
> Thanks for any pointers
>
> Davlon
> PS (I'm using powersite 7.1.0.300)
>
>

--------------42A4906A33A0B735A117EB47--
0 GothicCastle 8/7/2000 5:04:25 PM
Reply:

(Thread closed)