Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: ASP sessions variables


Message #1 by "Leon Tunctson" <Leon.Tunctson@d...> on Wed, 18 Sep 2002 16:23:33 -0400
My application works using sessions variables at my workstation BUT session
 variables do not work at a user's workstation.

That is, the session variable data is not carried from ASP page to ASP page
.  WHY?

>>> czhou@w... 09/18/02 08:52PM >>>
Imar:

According to your suggestion, it works and it looks cleaner and easier.
Thanks very much.

One thing I still did not get it is that in ASP, I declare array as "Dim
arry()", it usually works well. But when it comes to declare an array
which is later assigned a value by a VB DLL, seems I have to declare it
as "Dim arry". Is there any restriction on array declaration in VBScript?

And I have another question regarding Activex DLL (may way far from the
above topic. Please be patient with me. I just started working on ASP and
D
 LL last month and I have to self-taught when I work on this project.)
What's the real difference between Activex Control and Activex DLL? I have
a
 sked people this question and never got satisfied answers. I believe
you'll be able help me out.

Many thanks,
Cindy

md.us
To unsubscribe send a blank email to leave-asp_components-1065620A@p...
.com

to unsubscribe send a blank email to leave-asp_components-1065620A@p...
.com.


************************************************************
Scanned by net.work.Maryland Antivirus Service...
the Backbone of eMaryland, the Digital State.
************************************************************

Message #2 by Ramesh Kandasamy <rame10@y...> on Wed, 18 Sep 2002 16:02:53 -0700 (PDT)
1).Is ur server in webfarm or standalone server?.

2). The outside user coming through proxy server?.

The answer for the above question will help me to find
out the problem.







--- Leon Tunctson <Leon.Tunctson@d...>
wrote:
> My application works using sessions variables at my
> workstation BUT session variables do not work at a
> user's workstation.
> 
> That is, the session variable data is not carried
> from ASP page to ASP page.  WHY?
> 
> >>> czhou@w... 09/18/02 08:52PM >>>
> Imar:
> 
> According to your suggestion, it works and it looks
> cleaner and easier. 
> Thanks very much.
> 
> One thing I still did not get it is that in ASP, I
> declare array as "Dim 
> arry()", it usually works well. But when it comes to
> declare an array 
> which is later assigned a value by a VB DLL, seems I
> have to declare it 
> as "Dim arry". Is there any restriction on array
> declaration in VBScript?
> 
> And I have another question regarding Activex DLL
> (may way far from the 
> above topic. Please be patient with me. I just
> started working on ASP andD
>  LL last month and I have to self-taught when I work
> on this project.)
> What's the real difference between Activex Control
> and Activex DLL? I havea
>  sked people this question and never got satisfied
> answers. I believe 
> you'll be able help me out.
> 
> Many thanks,
> Cindy
>  
> leon.tunctson@d... 
> %%email.unsub%% 
> 
> 
> 
>
************************************************************
> Scanned by net.work.Maryland Antivirus Service...
> the Backbone of eMaryland, the Digital State.
>
************************************************************
> 
> 
> 
> rame10@y...
> %%email.unsub%%
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
Message #3 by "Leon Tunctson" <Leon.Tunctson@d...> on Thu, 19 Sep 2002 08:26:47 -0400
See my response to your questions below.

Does this problem have something to do with the browser and whether or not 
the user's accepts cookies?

As I said when the application runs at my workstation, the session variable
  returns the value to the next ASP page.  But the application runs at the 
user's workstation the session variable returns a blank.

Can I fix this by creating an application server variable?

>>> rame10@y... 09/18/02 07:02PM >>>

1).Is ur server in webfarm or standalone server?.

 Answer:     The server is standalone.

2). The outside user coming through proxy server?.


Answer: There is no proxy server.


The answer for the above question will help me to find
out the problem.







--- Leon Tunctson <Leon.Tunctson@d...>
wrote:
> My application works using sessions variables at my
> workstation BUT session variables do not work at a
> user's workstation.
>
> That is, the session variable data is not carried
> from ASP page to ASP page.  WHY?
>
> >>> czhou@w... 09/18/02 08:52PM >>>
> Imar:
>
> According to your suggestion, it works and it looks
> cleaner and easier.
> Thanks very much.
>
> One thing I still did not get it is that in ASP, I
> declare array as "Dim
> arry()", it usually works well. But when it comes to
> declare an array
> which is later assigned a value by a VB DLL, seems I
> have to declare it
> as "Dim arry". Is there any restriction on array
> declaration in VBScript?
>
> And I have another question regarding Activex DLL
> (may way far from the
> above topic. Please be patient with me. I just
> started working on ASP andD
>  LL last month and I have to self-taught when I work
> on this project.)
> What's the real difference between Activex Control
> and Activex DLL? I havea
>  sked people this question and never got satisfied
> answers. I believe
> you'll be able help me out.
>
> Many thanks,
> Cindy
> 
> leon.tunctson@d...
> %%email.unsub%%
>
>
>
>
************************************************************
> Scanned by net.work.Maryland Antivirus Service...
> the Backbone of eMaryland, the Digital State.
>
************************************************************
>
>
>
> rame10@y...
> %%email.unsub%%
>


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com


md.us
To unsubscribe send a blank email to leave-asp_components-1065620A@p...
.com

to unsubscribe send a blank email to leave-asp_components-1065620A@p...
.com.

Message #4 by "Imar Spaanjaars" <Imar@S...> on Thu, 19 Sep 2002 14:18:30
Yes, cookies are definitely necessary for Session support as the Session 
ID is stored as a cookie on the client.

If you can't use cookies. there is something called the Cookie Munger 
which persists the Session ID in the URL of each page instead of a cookie.

Cheers,

Imar



> See my response to your questions below.

Does this problem have something to do with the browser and whether or 
not 
the user's accepts cookies?

Message #5 by "Leon Tunctson" <Leon.Tunctson@d...> on Thu, 19 Sep 2002 09:17:00 -0400
Okay, thank you.

>>> Imar@S... 09/19/02 02:18PM >>>
Yes, cookies are definitely necessary for Session support as the Session
ID is stored as a cookie on the client.

If you can't use cookies. there is something called the Cookie Munger
which persists the Session ID in the URL of each page instead of a cookie.

Cheers,

Imar



> See my response to your questions below.

Does this problem have something to do with the browser and whether or
not =3D
the user's accepts cookies?


md.us
To unsubscribe send a blank email to leave-asp_components-1065620A@p...
.com

to unsubscribe send a blank email to leave-asp_components-1065620A@p...
.com.


*************************************************************
Scanned by net.work.Maryland Antivirus Service ...
the Backbone of eMaryland, the Digital State.
*************************************************************


  Return to Index