• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

I lose my Session variableas

New Here ,
Jun 22, 2006 Jun 22, 2006

Copy link to clipboard

Copied

I try to open a powerpoint presentetion form the server, using the following code
<cfif not listLen(lst) is 0>
<cfoutput>
<frameset cols="*,110" border="5">
<frame src="#path#/#listGetAt(lst,1)#" name="hauptframe" noresize scrolling="auto" marginwidth="0" marginheight="0">
<frameset rows="*,100,0" border="0">
<frame src="#A_linkFile#?id=#id#" noresize scrolling="auto" marginwidth="0" marginheight="0">
<frame src="#A_topFile#?id=#id#&path=#path#" name="topframe" noresize scrolling="no" marginwidth="0" marginheight="0">
<frame src="#path#/gesamtdokument.ppt" name="printframe" noresize scrolling="no" marginwidth="0" marginheight="0">
<!---<frame name="printframe">--->
</frameset>
</frameset>

<noframes>
<body class="webShow" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<p>This page contains frames. You need a Web browser that supports frames
to view this page.</p>
</body>
</noframes>
</cfoutput>
<cfelse>
<body class="webShow">
<P>Could not find any data for your specified id=<cfoutput>#id#, #lst#</cfoutput></P>
</body>
</cfif>

I only get the mainframe, but the tubs nail in the smail fram can not be showed.

Got the follwing error.
Although i definded the Session.Abmeldung in my Application.cfm. Other page use it without troubles.

Need Help Urgently

Many thanks



Error Occurred While Processing Request
Element ABMELDUNG is undefined in SESSION.


The error occurred in D:\Sinntech\cfm\Application.cfm: line 184

182 : </cfif> --->
183 :
184 : <cfif ((Cookie.Username eq "") or (Cookie.pass eq "") or (Session.abmeldung is true))> <!---Cookie.Username , Cookie.pass sind die Benutzerdaten gespeichern ==> Auto login --->
185 : <cfif (findnocase("login.cfm",cgi.script_name,1) is 0 and
186 : findnocase("adduser.cfm",cgi.script_name,1) is 0 and



--------------------------------------------------------------------------------

Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Remote Address 158.226.253.145
Referrer https://sinntech.siemens.at/cfm/webshow_index.cfm?id=943
Date/Time 22-Jun-06 03:59 PM

Stack Trace (click to expand)
at cfApplication2ecfm1151475425.runPage(D:\Sinntech\cfm\Application.cfm:184)


coldfusion.runtime.UndefinedElementException: Element ABMELDUNG is undefined in SESSION.
at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1049)
at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1026)
at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1125)
at cfApplication2ecfm1151475425.runPage(D:\Sinntech\cfm\Application.cfm:184)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:30)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:93)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)



TOPICS
Advanced techniques

Views

477

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 22, 2006 Jun 22, 2006

Copy link to clipboard

Copied

please show your application.cfm where you are defining abmeldung... are you having this problem on all other pages?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 22, 2006 Jun 22, 2006

Copy link to clipboard

Copied

You don't by chance have two application.cfm files do you, one buried
inside the folder structure when another one already exists??

You may only have one <CFApplication> tag in effect at any time.

D?

Yasmin_lady wrote:
> I try to open a powerpoint presentetion form the server, using the following
> code
> <cfif not listLen(lst) is 0>
> <cfoutput>
> <frameset cols="*,110" border="5">
> <frame src="#path#/#listGetAt(lst,1)#" name="hauptframe" noresize
> scrolling="auto" marginwidth="0" marginheight="0">
> <frameset rows="*,100,0" border="0">
> <frame src="#A_linkFile#?id=#id#" noresize scrolling="auto"
> marginwidth="0" marginheight="0">
> <frame src="#A_topFile#?id=#id#&path=#path#" name="topframe" noresize
> scrolling="no" marginwidth="0" marginheight="0">
> <frame src="#path#/gesamtdokument.ppt" name="printframe" noresize
> scrolling="no" marginwidth="0" marginheight="0">
> <!---<frame name="printframe">--->
> </frameset>
> </frameset>
>
> <noframes>
> <body class="webShow" leftmargin="0" marginwidth="0" topmargin="0"
> marginheight="0">
> <p>This page contains frames. You need a Web browser that supports
> frames
> to view this page.</p>
> </body>
> </noframes>
> </cfoutput>
> <cfelse>
> <body class="webShow">
> <P>Could not find any data for your specified id=<cfoutput>#id#,
> #lst#</cfoutput></P>
> </body>
> </cfif>
>
> I only get the mainframe, but the tubs nail in the smail fram can not be
> showed.
>
> Got the follwing error.
> Although i definded the Session.Abmeldung in my Application.cfm. Other page
> use it without troubles.
>
> Need Help Urgently
>
> Many thanks
>
>
>
> Error Occurred While Processing Request
> Element ABMELDUNG is undefined in SESSION.
>
>
> The error occurred in D:\Sinntech\cfm\Application.cfm: line 184
>
> 182 : </cfif> --->
> 183 :
> 184 : <cfif ((Cookie.Username eq "") or (Cookie.pass eq "") or
> (Session.abmeldung is true))> <!---Cookie.Username , Cookie.pass sind die
> Benutzerdaten gespeichern ==> Auto login --->
> 185 : <cfif (findnocase("login.cfm",cgi.script_name,1) is 0 and
> 186 : findnocase("adduser.cfm",cgi.script_name,1) is 0 and
>
>
>
>
> --------------------------------------------------------------------------------
>
> Please try the following:
> Check the ColdFusion documentation to verify that you are using the correct
> syntax.
> Search the Knowledge Base to find a solution to your problem.
>
>
> Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
> 1.0.3705; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
> Remote Address 158.226.253.145
> Referrer https://sinntech.siemens.at/cfm/webshow_index.cfm?id=943
> Date/Time 22-Jun-06 03:59 PM
>
> Stack Trace (click to expand)
> at cfApplication2ecfm1151475425.runPage(D:\Sinntech\cfm\Application.cfm:184)
>
>
> coldfusion.runtime.UndefinedElementException: Element ABMELDUNG is undefined
> in SESSION.
> at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1049)
> at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:1026)
> at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:1125)
> at cfApplication2ecfm1151475425.runPage(D:\Sinntech\cfm\Application.cfm:184)
> at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
> at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
> at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
> at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:30)
> at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:93)
> at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
> at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
> at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
> at
> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilt
> er.java:28)
> at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
> at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
> at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
> at coldfusion.CfmServlet.service(CfmServlet.java:105)
> at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
> at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
> at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> at
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
> at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
>
>
>
>
>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2006 Jun 23, 2006

Copy link to clipboard

Copied

I have only one application.cfm
I don't experience this problem in other pages.



Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 23, 2006 Jun 23, 2006

Copy link to clipboard

Copied

LATEST
if you need help "urgently" you will need to provide more code, it doesnt appear that your problem is in anything that is already provided.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation