473,406 Members | 2,220 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,406 software developers and data experts.

Question on Session

HI

We currently are running an MCMS 2002 web site on windows 2000. dot.net
framework 1.1.

I'm looking to use the asp.net session to keep a user logged in after
authentication. This seems pretty straight forward but I have a couple
of general questions about the asp.net session object if any one can
help.

Firstly i'm new to this so I apologise if I'm being stupid.

1: If a user logs on to our site, autheticates and then, within the
same session, navigates to web site that does not run on the dot net
framework, will the asp.net session token (which I believe is stored in
a cookie or nested in the URL) be deleted?

2: I assume every web server (Apache etc) creates it's own type of
session Identifier, can these co-exist during a single browser session?

Any help is greatly appreciated

Mikey

Nov 2 '06 #1
2 1316
HI
>
We currently are running an MCMS 2002 web site on windows 2000. dot.net
framework 1.1.

I'm looking to use the asp.net session to keep a user logged in after
authentication. This seems pretty straight forward but I have a couple
of general questions about the asp.net session object if any one can
help.

Firstly i'm new to this so I apologise if I'm being stupid.

1: If a user logs on to our site, autheticates and then, within the
same session, navigates to web site that does not run on the dot net
framework, will the asp.net session token (which I believe is stored in
a cookie or nested in the URL) be deleted?
The cookie is remembered by the browser, until that browser is closed.
When the user navigates again to your web-app, that cookie will be sent
again. If this request is within the session-timeout limit (default 20
minutes), then the user will continue in the original session.
>
2: I assume every web server (Apache etc) creates it's own type of
session Identifier, can these co-exist during a single browser session?
Maybe the various servers use their own names for the session cookies
(asp.net seems to use a name with a random part). However, the cookies
also contain a "domain" parameter (usually the name of the webserver).
It is entirely possible to have separate cookies with the same name for
different domains. The browser will only send cookies whose domain name
matches the url.

Any help is greatly appreciated

Mikey

Nov 2 '06 #2
Thanks Hans, Good Info

Hans Kesting wrote:
HI

We currently are running an MCMS 2002 web site on windows 2000. dot.net
framework 1.1.

I'm looking to use the asp.net session to keep a user logged in after
authentication. This seems pretty straight forward but I have a couple
of general questions about the asp.net session object if any one can
help.

Firstly i'm new to this so I apologise if I'm being stupid.

1: If a user logs on to our site, autheticates and then, within the
same session, navigates to web site that does not run on the dot net
framework, will the asp.net session token (which I believe is stored in
a cookie or nested in the URL) be deleted?

The cookie is remembered by the browser, until that browser is closed.
When the user navigates again to your web-app, that cookie will be sent
again. If this request is within the session-timeout limit (default 20
minutes), then the user will continue in the original session.

2: I assume every web server (Apache etc) creates it's own type of
session Identifier, can these co-exist during a single browser session?

Maybe the various servers use their own names for the session cookies
(asp.net seems to use a name with a random part). However, the cookies
also contain a "domain" parameter (usually the name of the webserver).
It is entirely possible to have separate cookies with the same name for
different domains. The browser will only send cookies whose domain name
matches the url.

Any help is greatly appreciated

Mikey
Nov 2 '06 #3

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

Similar topics

9
by: Xizor | last post by:
Let's say I run a server. I have two people using the server. Bill and Joe. Bill is at address.com/bill and Joe is at address.com/joe. Let's say Joe and Bill are both using PHP with sessions on...
11
by: Stephanie Stowe | last post by:
Hi. I have an ASP page which stores a cookie. That cookie is then read on a different server. This is the crux of an ASP / JSP bridge I am creating for allowing a user to seemlessly switch from an...
2
by: Chris Puncher | last post by:
Hi. I have a RCW class that was generated by the VS.NET2003 IDE when I added a COM dll reference to my project. This all works fine when I call methods on it. My initial problem is that in...
1
by: Britt | last post by:
Hi, I read that SessionState is on by default. I also read that if it's not required, it must be better off (because of resources) My question is: i don't use session variables (like e.g....
5
by: jehugaleahsa | last post by:
Hello: What is the point of using a DataTable in ASP .NET? We are unsure how you can use them without 1) rebuilding them every postback, or 2) taking up precious memory. We are not sure how to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.