Losing Session Variables in a Frameset

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 3
Reputation: mjc225 is an unknown quantity at this point 
Solved Threads: 0
mjc225 mjc225 is offline Offline
Newbie Poster

Losing Session Variables in a Frameset

 
0
  #1
Sep 16th, 2009
Greetings, I have just developed a content-managed, database-driven application application that makes heavy use of postbacks and session variables. We own the domain that the site was designed to be hosted on, however, the customer does not want our URL showing. The solution our firm has used in the past is to just put the entire application within a frameset with the top frameset at 0% and the bottom one at 100%, thus the only file that needs to live on the customer's site is the frameset itself. In this case, the frameset is a Cold Fusion page but there is no server-side logic--just the HTML frameset. It is a cold fusion page because I'm told this is what worked in the past. They are running the .NET framework on the server but I don't know if they have any .NET sites up there. I was told that this should work because all of the code to run the application should work fine because everything should be self-contained within the frame, however, anytime a postback is done, it tends to lose all of its session variables. To further complicate matters, the same frameset, let's call it frameset.cfm works fine when both the frameset page and application are hosted on the same server, but when only the frameset.cfm page is moved to the client's server, the sessions fail, especially on pages with postbacks.

Could someone explain to me what is going on and help me come up with a workaround? Because we need to contact the customer's IT department each time a file is placed on their server, we are hoping to involve them as little as possible. My next step is going to be to create a frameset.aspx page that will live on their server but I am told that our firm has never had a problem with the frameset.cfm files before...

Ohh, and lastly, It always works in Firefox, and sometimes works in IE. On some IE 8 machines it works all the time, on some IE 8 machines it works most of the time, and on some IE8 machines it fails most of the time...

Thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 32
Reputation: padtes is an unknown quantity at this point 
Solved Threads: 5
padtes's Avatar
padtes padtes is offline Offline
Light Poster

Re: Losing Session Variables in a Frameset

 
0
  #2
Sep 17th, 2009
Though I don't know ColdFusion I will attempt this: use simple htm or html for frames. I use frameset in htm manu times.

And html will work with dot net or Coldfusion or anything else.

There got to be something else with browser version, not server technology. When you say you are loosing session variables, how are you detecting that?

Anyway frames are getting outdated. There might be some problem with newer browsers.

please mark closed if you find solution. If your solution is different than this, post the solution as well.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Losing Session Variables in a Frameset

 
0
  #3
Sep 17th, 2009
each document(window) in frameset has their own unique session variables, so it is normal that you lose them. avoid framesets in .net applications. you have user controls, master pages as substitues.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 177
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 14
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster

Re: Losing Session Variables in a Frameset

 
0
  #4
Sep 24th, 2009
It's happened to me also, then I changed the frameset file to .aspx
NEVER NEVER NEVER GIVE UP
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC