What is the best way to send a variable (or two or three) to an SSL page? My app used session variables, but that doesn't work (new session, I suppose). I figured that I would just place the variables into a cookie, but that seemed to not work either, though I can't come up with a reason why not (except programmer error). I have been reduced to using the query string, but is there a better way? Have I given up on my cookie idea too quickly? The page that is protected by SSL is in the same folder as the page that is redirecting to it, if that is important.
Seethis article about Session State in ASP.NET, in the MSDN library. Near the very end of the article is explains about ApplyAppPathModifier, which essentially inserts the SessionID in the URL.
The funny things is that I have used Session between HTTP and HTTPS, in the past, without any problems.
0 comments:
Post a Comment