Re: Sessions/Cookies between sites
From: Mark Schupp (mschupp_at_ielearning.com)
Date: 05/11/04
- Next message: Micosoft: "Session variable"
- Previous message: Bob Barrows [MVP]: "Re: SQL Results Problem"
- In reply to: Astra: "Sessions/Cookies between sites"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Sessions/Cookies between sites"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Sessions/Cookies between sites"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 May 2004 08:01:53 -0700
Yes, session variables and cookies will not be shared between the http and
https sites (if the HTTP and HTTPS pages are in the same IIS application, it
used to be possible to share session state, I don't know if that was a bug
or a feature. I haven't tried it since IIS 4).
Yes, you can pass data back and forth with form elements. A more secure
approach would be to keep the user data in a database and pass only and
identifier back and forth.
As long as the user returns to one site or another within the session
timeout period set in IIS their session variables will still be available.
If cookies are not set to expire or they return before the cookie expires
then cookies will be available as well.
-- Mark Schupp Head of Development Integrity eLearning www.ielearning.com "Astra" <info@NoEmail.com> wrote in message news:40a0c0df_4@127.0.0.1... > Hi All > > Can I just confirm, is it true that Session Vars and Cookies from my main > http site will all be lost when I ask the user to transfer over to the > secure (https) side of my site? > > Although the http and https sites are hosted on the same ISP they are under > different domains (as well as protocols of course). > > Is it usually the case that I form post/get the intrinsic details back and > forth between the http and https so that I can keep things on track? > > More importantly, if the user is still in the same session and they go to > the https side of the site and then go back to the http side (they may want > to check something - because they just do), has all of my session var and > cookie data still be lost because of the change of sites? I have a feeling > that my cookies will be OK, but my session vars may have been lost - > correct? > > Rgds > > Robbie > >
- Next message: Micosoft: "Session variable"
- Previous message: Bob Barrows [MVP]: "Re: SQL Results Problem"
- In reply to: Astra: "Sessions/Cookies between sites"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Sessions/Cookies between sites"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Sessions/Cookies between sites"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|