473,385 Members | 1,780 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Session variables problem...

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

Jul 19 '05 #1
1 2989
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

"Gary" <ms****@microsoft.com> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl...
: 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
:
:
:
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Larry Woods | last post by:
I am losing Session variables, but only those that are set in the page previous to a redirect to a secure page. Anyone seen ANY situation where Session variables just "disappear?" Note that...
6
by: Al Jones | last post by:
This is a repost form the vbscript newgroup - if this isn't the appropriate group would you point me toward one that is. Basically, I seem to be losing session data part way though preparing an...
6
by: Lina Manjarres | last post by:
Hello, I have a session variable in a login page. Then I go to a form page where I uses the ProfileID and the UserID. Then I go to a result page where I would like to use the UserID as a filter,...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
9
by: Randy | last post by:
Hello, I'm having a strange problem. I've got a .NET web app which uses Session variables. Sometime, not all the time, they get cross threaded...that is...one user will have another user's Session...
5
by: Sean | last post by:
Problem with sessions I have created an application without concern for sessions. As it turns out I think that might be my undoing. What I have: I have an online quiz. I don’t need to know...
2
by: Tomas Martinez | last post by:
Hi, Well, my problem is so simple as it says in the subjet but very frustrating also. I have a project and it is losing the session variables with each postback, so I downloaded from the web a...
18
by: BillE | last post by:
When a user opens a new IE browser window using File-New-Window the integrity of an application which relies on session state is COMPLETELY undermined. Anyone who overlooks the fact that...
26
by: BillE | last post by:
Some ASP.NET applications use Session Variables extensively to maintain state. These should be re-written to use viewstate, hidden fields, querystring, etc. instead. This is because if a user...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.