Session variables problem...

G

Gary

i have a project which is include ASP, VB, VB COM, MTS, IIS.

when the user enter the site the user is asked to login using UserID and
Password after that i am passing those values to COM Objects and those COM
objects are setting the Session values through ASP intransic objects., if
the user is a valid user then i am taking out his personal info including
his accessLevel (integer field) and setting thoise values to session
variables.

The problem is that its working perfectly fine if i am useing it through
Internet Explorer then the pop up windows can hold the session values but
the problem comes when i am accessing the site through Microsoft Internet
Control (shdocvw.oca)which i have inculded in my VB Project. Now the
problem is that when i am opening up any popUp windows its not holding the
session values.

Any suggestions would be highly appreciated.

TIA,

Gary
 
K

Ken Schaefer

Hi, IE "pop up windows" only share the same in-memory session cookies (which
is what ASP Session state is maintained by) if they are running the same
process.

If you open a second copy of IE from the Start menu, you will see that it
doesn't share the same ASPSession cookie as the first copy of IE. Probably
something similar is happening with your control.

Cheers
Ken

: i have a project which is include ASP, VB, VB COM, MTS, IIS.
:
: when the user enter the site the user is asked to login using UserID and
: Password after that i am passing those values to COM Objects and those COM
: objects are setting the Session values through ASP intransic objects., if
: the user is a valid user then i am taking out his personal info including
: his accessLevel (integer field) and setting thoise values to session
: variables.
:
: The problem is that its working perfectly fine if i am useing it through
: Internet Explorer then the pop up windows can hold the session values but
: the problem comes when i am accessing the site through Microsoft Internet
: Control (shdocvw.oca)which i have inculded in my VB Project. Now the
: problem is that when i am opening up any popUp windows its not holding the
: session values.
:
: Any suggestions would be highly appreciated.
:
: TIA,
:
: Gary
:
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,115
Latest member
JoshuaMoul
Top