Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass Session variable from HTTP to HTTPS via iframe

Status
Not open for further replies.

woetech

Programmer
Mar 13, 2009
26
US
Hello. We have an ASP.NET website using .NET 3.5 and have ran into an issue after recently changing some code to be under a secure domain. We first wanted to change how people registered and so that information would be secure. We setup a new secure domain, moved code to it, and changed the current code in the un-secured domain to just point to the secured code via an iframe. This works just fine.

But now we want to secure the area where registered and logged in users can change their information. Doing the same process as above doesn't work as we key information off a couple Session variables and they don't seem to get passed over. I've read about using the Response.ApplyAppPathModifier method to pass Session across pages, but I don't know how to get it to work with an iframe call.

Does anyone have any suggestions on how to make this work easily? I'd prefer an easy way than having to store something in the database and retrieve it on the other end. Thanks for your help!
 
Does anyone have any suggestions at all? Please? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top