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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session variable not work for framesetpages?

Status
Not open for further replies.

mashuri

IS-IT--Management
Jun 7, 2000
3
SG
mashuri (IS/IT--Manageme) Jun 8, 2000 <br>Hi darkman<br><br>One more thing you recommend to insert on all password protected pages with &lt;CFIF not is define xx &gt;Once I include this to the pages where the frameset store, it refuse to work , but if you insert on regular pages , there is no problem at all <br>Any tricks to skip this?<br><br>Thanks<br><br>Mashuri<br><br>Thank you <br><br>Mashuri&nbsp;&nbsp;<br>
 
I'm not sure, but it seems like you're not including the cfid and cftoken in your frameset page...<br><br>It should look something like:<br><FONT FACE=monospace><br>&lt;cfoutput&gt;<br>&lt;frameset rows=&quot;50%,*&quot; border=0&gt;<br><br>&nbsp;&nbsp;&lt;frame name=&quot;top&quot; <br>&nbsp;&nbsp;src=&quot;top.cfm?cfid=#cfid#&cftoken=#cftoken#&quot;<br>&nbsp;&nbsp;marginwidth=&quot;0&quot;<br>&nbsp;&nbsp;marginheight=&quot;0&quot;<br>&nbsp;&nbsp;scrolling=&quot;auto&quot;<br>&nbsp;&nbsp;frameborder=&quot;1&quot;&gt;<br><br>&nbsp;&nbsp;&lt;frame name=&quot;bottom&quot;<br>&nbsp;&nbsp;src=&quot;bottom.cfm?cfid=#cfid#&cftoken=#cftoken#&quot;<br>&nbsp;&nbsp;marginwidth=&quot;0&quot;<br>&nbsp;&nbsp;marginheight=&quot;0&quot;<br>&nbsp;&nbsp;scrolling=&quot;Yes&quot;<br>&nbsp;&nbsp;frameborder=&quot;1&quot;&gt;<br><br>&lt;/frameset&gt;<br>&lt;/cfoutput&gt;<br></font><br>This will keep the frames in the current session and the session password should still be accessible...
 
You cannot check for variables that do not exist.<br>A variable that is set in one template does for exist for another template.<br>You need to check for session or application variables that persist across pages. <p>Russ Michaels<br><a href=mailto:russ@satachi.com>russ@satachi.com</a><br><a href= Internet Development</a><br>Rapid Web application development, specialising in Coldfusion, database integration and e-commerce solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top