470,855 Members | 1,217 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,855 developers. It's quick & easy.

sessions and SSL

I'm trying to use a couple of Session variables within SSL.
My form submits to the same page and this is at the top of the page.

<%
Session("ShipAhead") = Request.Form("ShipAhead")
Session("Comments") = Request.Form("Comments")
%>

The form fields are populated but the Sessions are empty on my next page.
Am I missing something? Is there a problem with Sessions and SSL?
thanks!
Jul 19 '05 #1
1 1387
If you go from non-SSL to SSL, yes, a new session is started, because using
a new protocol (http -> https) is much like using a new domain name. See
bullet #2 of http://www.aspfaq.com/2157

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"shank" <sh***@tampabay.rr.com> wrote in message
news:#w**************@TK2MSFTNGP10.phx.gbl...
I'm trying to use a couple of Session variables within SSL.
My form submits to the same page and this is at the top of the page.

<%
Session("ShipAhead") = Request.Form("ShipAhead")
Session("Comments") = Request.Form("Comments")
%>

The form fields are populated but the Sessions are empty on my next page.
Am I missing something? Is there a problem with Sessions and SSL?
thanks!

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by The Plankmeister | last post: by
13 posts views Thread by jing_li | last post: by
3 posts views Thread by Maxime Ducharme | last post: by
3 posts views Thread by Will Woodhull | last post: by
12 posts views Thread by D. Shane Fowlkes | last post: by
6 posts views Thread by Daniel Walzenbach | last post: by
22 posts views Thread by magic_hat60622 | last post: by
Atli
2 posts views Thread by Atli | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.