Author | Topic: Session variable problem at one CXP customer site | |
---|---|---|
Nestor G. Torres | Session variable problem at one CXP customer site on Fri, 06 Nov 2015 06:47:55 +0200 Hi Guys, At one of my customer sites running windows 7 professional ( with all updates ) I am experiencing a problem when setting session variables within CXP modules. ::Session:storedir:="C:/TVHS" The above line of code crashes or stops my cxp starlite module. I know this because if I take out this line of code the rest of the cxp module carries on and finishes normally. The odd parts about this problem are: 1) if I call my starlite application from Firefox then I have no problems 2) if I call starlite from chrome or ie it will fail but if i refresh the page it will work ...also note that opening and closing the problem browsers has a toggle affect of working and not working. 3) this problem is only happening at www.jumboentertain.com 4) opening my demo site www.starlightdemo.com then i have no problems with chrome or ie. what I have done: 1) switched off the firewall and Anti-virus (no effect) 2) repaired all registries (no effect) 3) defragged hard drive (no effect) 4) scanned for viruses and malware (none found) 5) removed all unnecessary software installations and rebooted 6) removed and reinstalled CXP * computer response times have improved with above but still no effect on problem I call the CXP module using jquery AJAX $.ajax({ async: true, cache: false, datatype: "xml", type: "POST", data: {storedir: cstoredir}, url: "Star_Parameters_Newer.cxp" }).done(function( xml ) { /* do someting */ }); There are no problems with logic ... I believe some OS random process is preventing CXP from setting the session variable. Is it possibly some setting in the computer software's? Has anyone else experienced a problem like this? My next step, to try to solve this anomaly is to upgrade the problem site to Windows 10. Please chime in with any suggestions. Kind regards Nestor | |
Nestor G. Torres | Re: Session variable problem at one CXP customer site on Mon, 09 Nov 2015 17:27:25 +0200 Hi Again, I Installed Windows 10 onto the troubled IIS7 server and I still have the same problem. I am only guessing because I have no other choice: I think the problem has something to do with the storing of data inside of cookies, as maybe Alaska has implemented the storing of session variables. And my guess is that their may be a way of setting one of the IIS7 parameters to solve this. Unfortunately I do not have the knowledge required to solve this problem quickly. So if someone can shed some light on this I would greatly appreciate it. Kind regards, Nestor On 2015/11/06 06:47 AM, Nestor G. Torres wrote: > Hi Guys, > > At one of my customer sites running windows 7 professional ( with all > updates ) I am experiencing a problem when setting session variables > within CXP modules. > > ::Session:storedir:="C:/TVHS" > > The above line of code crashes or stops my cxp starlite module. I know > this because if I take out this line of code the rest of the cxp module > carries on and finishes normally. > > The odd parts about this problem are: > 1) if I call my starlite application from Firefox then I have no > problems > 2) if I call starlite from chrome or ie it will fail but if i > refresh the page it will work ...also note that opening and closing the > problem browsers has a toggle affect of working and not working. > 3) this problem is only happening at www.jumboentertain.com > 4) opening my demo site www.starlightdemo.com then i have no > problems with chrome or ie. > > what I have done: > 1) switched off the firewall and Anti-virus (no effect) > 2) repaired all registries (no effect) > 3) defragged hard drive (no effect) > 4) scanned for viruses and malware (none found) > 5) removed all unnecessary software installations and rebooted > 6) removed and reinstalled CXP > * computer response times have improved with above but still no effect > on problem > > I call the CXP module using jquery AJAX > > $.ajax({ > async: true, > cache: false, > datatype: "xml", > type: "POST", > data: {storedir: cstoredir}, > url: "Star_Parameters_Newer.cxp" > }).done(function( xml ) { /* do someting */ }); > > There are no problems with logic ... I believe some OS random process is > preventing CXP from setting the session variable. Is it possibly some > setting in the computer software's? > > Has anyone else experienced a problem like this? > > My next step, to try to solve this anomaly is to upgrade the problem > site to Windows 10. > > > Please chime in with any suggestions. > > Kind regards > Nestor > > > > | |
Nestor G. Torres | Re: Session variable problem at one CXP customer site on Mon, 09 Nov 2015 18:17:30 +0200 Hi Again, Just to make sure it is not just my application I ran CXPINFO.CXP and get what I believe to be the same error. The error html source from http:/jumboentertain.com/CXPINFO.CXP follows (remember if you refresh the CXPINFO.CXP the page will then work): <html><head><title>Xbase++ 2.0 Application/Page Runtime Error</title></head><style> body{ background-color: #fcfed7; /* wonderful YSOD */ } div.error{ background-color: #fcfed7; margin-left:10px; } h1{ background-color:#734DB3; color: #F3F3F1; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 42px; padding-left:10px; } h2 { color: #000000; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 20px; margin-bottom: 0pt; margin-top: 15pt; } p{ color: #000000; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-size: 12pt; margin-top: 0px; margin-bottom: 10px; } pre{ background-color: #734DB3; color: #00FFFF; border: 1px black solid; font-family: "Courier New", Courier, monospace; padding-left: 5px; padding-top: 10px; padding-bottom: 10px; margin-top: 5pt; margin-bottom: 5pt; } div.source-code{ background-color: #efefef; color: #000000; width:850pt; padding-left: 5px; padding-top: 10px; padding-bottom: 10px; } code{ font-family: "Courier New", Courier, monospace; } table.clearblue { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; border-collapse:collapse; background-color: #3ba2e9; width: 40em; } table.clearblue td { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; padding: 2px 10px 2px 5px; border-top: 0px solid black; border-bottom:1px solid #fcfed7; border-left: 0px solid black; border-right: 0px solid black; font-size: 10pt; } table.clearblue thead { font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; background-color: #27348B; color: #F3F3F1; height: 1.5em; } tr.metro-blue{ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; background-color: #3ba2e9; } tr.metro-red{ font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; background-color: #cd6552; } </style><body><div class="error"><h1><CXP:RuntimeError/></h1><H2>Runtime Error:</h2><p>One error occured which was catched by the generic error management of the CXP execution infrastructure.</p><h2>Error:</h2><p> in Line 323<br><small>No detailed description available for error identifier(8999)</small></p><pre></pre><h2>Files:</h2><p><font style="font-weight:bold">CXP File: </font>C:\inetpub\wwwroot\cxpinfo.cxp<br><font style="font-weight:bold">Binary: </font>C:\inetpub\wwwroot\cxp-application\cxpinfo.cxp.dll</p><h2>Callstack:</h2><p>Use the callstack to analyse the context of the error condition. This is especially useful in cases of complex web solution such as pages making use of page-locality or pages which are rendering views for the CXP MVC framework.</p><div class="callstack"><table class="clearblue"><thead><tr><td>Line#</td><td>Function/Method</td></tr></thead> <tr><td>323</td><td>APPSTORAGEMANAGER:CREATENODEBYUUID()</td></tr> <tr><td>832</td><td>CXPCOOKIESESSIONMANAGER:NEEDNODE()</td></tr> <tr><td>805</td><td>CXPCOOKIESESSIONMANAGER:GETNOIVAR()</td></tr> <tr><td>132</td><td>CXPINFO:RENDER()</td></tr> <tr><td>2052</td><td>CXPAPPLICATION:RUNPAGE()</td></tr> <tr><td>297</td><td>CXPPROCESSOR:RUN()</td></tr> <tr><td>204</td><td>ABSTRACTHOSTADAPTOR:RUN()</td></tr> <tr><td>2117</td><td>CXPSTARTUP()</td></tr> <tr><td>18</td><td>MAIN()</td></tr> </table></div><h2>Data Context:</h2><p>The following are all workareas and related session information which belongs to your runtime error context!</p><div class="callstack"><table class="clearblue"><thead><tr><td>Workarea</td><td>Details</td></tr></thead> <tr><td>__APPSTORAGE</td><td>{"KEY", "X", 128, 0}{"UUID", "X", 36, 0}{"PARENT", "X", 36, 0}{"CREATED", "T", 8, 0}{"UPDATED", "T", 8, 0}{"LOCKED", "T", 8, 0}{"EXPIRES", "I", 4, 0}{"CALLBACK", "X", 64, 0}{"DATA", "V", 4, 0}</td></tr> </table></div><h2>Error Details:</h2><p>The following lists all exported data of the error object which has raisen the exception leading to this runtime error.The information provided can become especially useful in the event of user defined exceptions and other specific error classes such as those related to COM/ActiveX automation.</p><div class="callstack"><table class="clearblue"><thead><tr><td>Type</td><td>Member</td><td>Value</td><td>Attribute</td></tr></thead> <tr><td>N</td><td>osCode</td><td>0</td><td> Exported Instance Var</td></tr> <tr><td>C</td><td>filename</td><td></td><td> Exported Instance Var</td></tr> <tr><td>L</td><td>canSubstitute</td><td>.F.</td><td> Exported Instance Var</td></tr> <tr><td>L</td><td>canRetry</td><td>.F.</td><td> Exported Instance Var</td></tr> <tr><td>N</td><td>genCode</td><td>8999</td><td> Exported Instance Var</td></tr> <tr><td>C</td><td>operation</td><td>DbCommit</td><td> Exported Instance Var</td></tr> <tr><td>L</td><td>canDefault</td><td>.T.</td><td> Exported Instance Var</td></tr> <tr><td>C</td><td>subSystem</td><td>BASE</td><td> Exported Instance Var</td></tr> <tr><td>O</td><td>cargo</td><td>DataObject</td><td> Exported Instance Var</td></tr> <tr><td>A</td><td>args</td><td>{}</td><td> Exported Instance Var</td></tr> <tr><td>N</td><td>tries</td><td>0</td><td> Exported Instance Var</td></tr> <tr><td>U</td><td>date</td><td>NIL</td><td> Exported Instance Var</td></tr> <tr><td>N</td><td>thread</td><td>1</td><td> Exported Instance Var</td></tr> <tr><td>N</td><td>severity</td><td>2</td><td> Exported Instance Var</td></tr> <tr><td>N</td><td>subCode</td><td>5381</td><td> Exported Instance Var</td></tr> <tr><td>U</td><td>time</td><td>NIL</td><td> Exported Instance Var</td></tr> <tr><td>C</td><td>description</td><td></td><td> Exported Instance Var</td></tr> </table></div><h2>Execution Context:</h2><p>Some details about the context under which the process got executed.</p><div class="callstack"><table class="clearblue"><thead><tr><td>Variable</td><td>Value</td></tr></thead> <tr><td>Path</td><td>C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;</td></tr> <tr><td>Current</td><td>C:\Program Files (x86)\Alaska Software\cxp20\bin</td></tr> <tr><td>Temp</td><td>C:\WINDOWS\TEMP</td></tr> <tr><td>AppData</td><td>C:\WINDOWS\system32\config\systemprofile\AppData\Roaming</td></tr> </table></div><h2>Full Source</h2><p>In the following the full source code of your resource is shown. </p><div class="source-code"><code><style>font.xpp-string{ color:green; font-weight:bold; } font.xpp-comment{ color:grey; font-style:italic; } font.xpp-keyword{ color:blue; font-weight:bold; } font.xpp-function{ font-style:italic } </style> 0001 <!DOCTYPE html><br> 0002 <%#Code locality="page-global"%><br> 0003 <%<br> 0004 <br> 0005 <font class="xpp-keyword">CLASS</font> <font class="xpp-function">Table</font><br> 0006 <font class="xpp-keyword">PROTECTED</font>:<br> 0007 <font class="xpp-keyword">VAR</font> Data<br> 0008 <font class="xpp-keyword">VAR</font> CSS<br> 0009 <font class="xpp-keyword">VAR</font> Columns<br> 0010 <font class="xpp-keyword">VAR</font> Title<br> 0011 <br> 0012 <font class="xpp-keyword">EXPORTED</font>:<br> 0013 <font class="xpp-keyword">METHOD</font> Init()<br> 0014 <font class="xpp-keyword">METHOD</font> AddRow()<br> 0015 <font class="xpp-keyword">METHOD</font> Render()<br> 0016 <font class="xpp-keyword">METHOD</font> AddSeparator()<br> 0017 <font class="xpp-keyword">ENDCLASS</font><br> 0018 <br> 0019 <font class="xpp-keyword">METHOD</font> <font class="xpp-function">Table</font>:Init(cT,nC,cC)<br> 0020 ::Title := cT<br> 0021 ::Columns := nC<br> 0022 ::CSS := cC<br> 0023 ::Data := {}<br> 0024 <font class="xpp-keyword">RETURN</font><br> 0025 <br> 0026 <font class="xpp-keyword">METHOD</font> <font class="xpp-function">Table</font>:AddRow(cT1,cT2)<br> 0027 <font class="xpp-keyword">LOCAL</font> n<br> 0028 aData := <font class="xpp-function">Array</font>( ::Columns <br> 0029 <font class="xpp-keyword">FOR</font> n:=1 <font class="xpp-keyword">TO</font> ::Columns<br> 0030 aData<font class="xpp-string">[n]</font> := <font class="xpp-function">PValue</font>(n)<br> 0031 <font class="xpp-keyword">NEXT</font> n<br> 0032 <font class="xpp-function">AAdd</font>( ::Data, aData <br> 0033 <font class="xpp-keyword">RETURN</font><br> 0034 <br> 0035 <font CLASS="xpp-comment">/*<br></font> 0036 <font CLASS="xpp-comment"> * Nothing special but this is how it is<br></font> 0037 <font CLASS="xpp-comment"> */</font><br> 0038 <font class="xpp-keyword">METHOD</font> <font class="xpp-function">Table</font>:Render()<br> 0039 <font class="xpp-keyword">LOCAL</font> cText,cToday<br> 0040 <font class="xpp-keyword">LOCAL</font> n,m<br> 0041 cText := <font class="xpp-string">"<table class="</font>+::CSS+<font class="xpp-string">'>'</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0042 <font class="xpp-keyword">IF</font>(!Empty(::Title))<br> 0043 cText += <font class="xpp-string">'<thead><tr><td colspan="'</font>+<font class="xpp-function">StrZero</font>(::Columns,3)+<font class="xpp-string">'">'</font>+::Title<br> 0044 cText += <font class="xpp-string">"</td></tr></thead>"</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0045 <font class="xpp-keyword">ENDIF</font><br> 0046 <font class="xpp-keyword">FOR</font> n:=1 <font class="xpp-keyword">TO</font> <font class="xpp-function">Len</font>(::Data)<br> 0047 <font class="xpp-keyword">IF</font>(ValType(::Data<font class="xpp-string">[n]</font>)==<font class="xpp-string">"C"</font>)<br> 0048 cText += <font class="xpp-string">'<tr class="metro-red"><td colspan="'</font>+<font class="xpp-function">StrZero</font>(::Columns,3)+<font class="xpp-string">'">'</font>+::Data<font class="xpp-string">[n]</font>+<font class="xpp-string">'</td></tr>'</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0049 <font class="xpp-keyword">ELSE</font><br> 0050 cText += <font class="xpp-string">'<tr class="metro-blue">'</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0051 <font class="xpp-keyword">FOR</font> m:=1 <font class="xpp-keyword">TO</font> <font class="xpp-function">Len</font>(::Data<font class="xpp-string">[n]</font>)<br> 0052 cText += <font class="xpp-string">"<td>"</font>+<font class="xpp-function">Var2Char</font>(::Data<font class="xpp-string">[n]</font><font class="xpp-string">[m]</font>)+<font class="xpp-string">"</td>"</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0053 <font class="xpp-keyword">NEXT</font> m<br> 0054 cText += <font class="xpp-string">"</tr>"</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0055 <font class="xpp-keyword">ENDIF</font><br> 0056 <font class="xpp-keyword">NEXT</font> n<br> 0057 cText += <font class="xpp-string">"</table>"</font>+<font class="xpp-function">Chr</font>(13)+<font class="xpp-function">Chr</font>(10)<br> 0058 <font class="xpp-keyword">RETURN</font>(cTexT)<br> 0059 <br> 0060 <font class="xpp-keyword">METHOD</font> <font class="xpp-function">Table</font>:AddSeparator(cD)<br> 0061 <font class="xpp-function">AAdd</font>( ::Data, cD <br> 0062 <font class="xpp-keyword">RETURN</font><br> 0063 %><br> 0064 <br> 0065 <html><br> 0066 <style><br> 0067 body{<br> 0068 font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;<br> 0069 }<br> 0070 <br> 0071 table.clearblue {<br> 0072 border-collapse:collapse;<br> 0073 background-color: #3ba2e9; <font CLASS="xpp-comment">/* alaska metro-style-light blue */</font><br> 0074 <br> 0075 <font CLASS="xpp-comment">/* remove these two border defs to get rid of the table border */</font><br> 0076 border-left: 15px solid #27348B; <font CLASS="xpp-comment">/* deep dark AlaskaBlue */</font><br> 0077 border-top: 5px solid #27348B;<br> 0078 width: 600px;<br> 0079 }<br> 0080 <br> 0081 table.clearblue td {<br> 0082 padding: 2px 10px 2px 5px;<br> 0083 border-top: 0px solid black;<br> 0084 border-bottom:1px solid #27348B;<br> 0085 border-left: 0px solid black;<br> 0086 border-right: 0px solid black;<br> 0087 font-size: 10pt;<br> 0088 }<br> 0089 <br> 0090 table.clearblue thead {<br> 0091 background-color: #27348B;<br> 0092 color: #F3F3F1;<br> 0093 margin-left:-5px;<br> 0094 padding-left:10px;<br> 0095 height: 40px;<br> 0096 }<br> 0097 <br> 0098 tr.metro-blue{<br> 0099 background-color: #3ba2e9;<br> 0100 }<br> 0101 <br> 0102 tr.metro-red{<br> 0103 background-color: #cd6552;<br> 0104 }<br> 0105 </style><br> 0106 <title>Compiled Xbase++ Pages Installation Report</title><br> 0107 <div><br> 0108 <%<br> 0109 <font class="xpp-function">SET</font> <font class="xpp-function">DATE</font> <font class="xpp-keyword">TO</font> AMERICAN<br> 0110 <br> 0111 cTitle := <font class="xpp-string">[<font style="font-weight:bold;font-size:18pt;">&lt;CXP/&gt;&nbsp;InfoPage</font>&nbsp;<font style="font-size:8pt;">(created ::Today)</font>]</font><br> 0112 cTitle := <font class="xpp-function">StrTran</font>(cTitle,<font class="xpp-string">"::Today"</font>,DToC(Date()))<br> 0113 <br> 0114 oTab := <font class="xpp-function">Table</font>():New(cTitle,2,<font class="xpp-string">"clearblue"</font>)<br> 0115 oTab:AddSeparator(<font class="xpp-string">"Platform:"</font>)<br> 0116 oTab:AddRow( <font class="xpp-string">"Http Server"</font>, ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_SOFTWARE"</font>) <br> 0117 oTab:AddRow( <font class="xpp-string">"Operating System"</font>, OS() <br> 0118 oTab:AddRow( <font class="xpp-string">"Patches Installed"</font>, OS(6) <br> 0119 oTab:AddRow( <font class="xpp-string">"Processors"</font>,GetEnv(<font class="xpp-string">"NUMBER_OF_PROCESSORS"</font>))<br> 0120 <br> 0121 oTab:AddSeparator(<font class="xpp-string">"Compiled Xbase++ Pages:"</font>)<br> 0122 oTab:AddRow( <font class="xpp-string">"Runtime"</font> , Version(1)+<font class="xpp-string">"."</font>+Version(2)+<font class="xpp-string">" Build "</font> + Version(3) <br> 0123 oTab:AddRow( <font class="xpp-string">"ExtendedTypes"</font>, Var2LChar( IsFunction( <font class="xpp-string">"datetime"</font> ))<br> 0124 oTab:AddRow( <font class="xpp-string">"Server API"</font>, ::HttpRequest:GetVariable(<font class="xpp-string">"GATEWAY_INTERFACE"</font>) <br> 0125 oTab:AddRow( <font class="xpp-string">"Installation"</font>, Lower( CurDrive()+<font class="xpp-string">":\"</font>+CurDir()  <br> 0126 <br> 0127 oTab:AddSeparator(<font class="xpp-string">"CxpPage Env:"</font>)<br> 0128 oTab:AddRow(<font class="xpp-string">"Page"</font>,SELF:File)<br> 0129 oTab:AddRow(<font class="xpp-string">"Path"</font>,SELF:Path)<br> 0130 oTab:AddRow(<font class="xpp-string">"PhysicalPath"</font>,SELF:PhysicalPath)<br> 0131 oTab:AddRow(<font class="xpp-string">"Form Data"</font>,Var2char(SELF:HttpRequest:Form:Collection )<br> 0132 oTab:AddRow(<font class="xpp-string">"Session Data"</font>,Var2char(SELF:Session:Collection )<br> 0133 oTab:AddRow(<font class="xpp-string">"PageConfig"</font> ,CoalesceEmpty(SELF:ConfigFile,<font class="xpp-string">"(No local page config found)"</font>))<br> 0134 oTab:AddRow(<font class="xpp-string">"Host"</font>,SELF:Host:ClassName())<br> 0135 oTab:AddRow(<font class="xpp-string">"Application"</font>,SELF:Application:ClassName())<br> 0136 oTab:AddRow(<font class="xpp-string">"SessionProvider"</font>,SELF:Session:ClassName())<br> 0137 oTab:AddRow(<font class="xpp-string">"CachePolicy"</font>,IIF(ValType(SELF:CachePolicy)==<font class="xpp-string">"O"</font>,SELF:CachePolicy:ClassName(),<font class="xpp-string">"(No cache provider)"</font>))<br> 0138 <br> 0139 oTab:AddSeparator(<font class="xpp-string">"CxpWorker Env.:"</font>)<br> 0140 oTab:AddRow(<font class="xpp-string">"Path"</font> , Var2Char( GetEnv(<font class="xpp-string">"PATH"</font>)))<br> 0141 oTab:AddRow(<font class="xpp-string">"Comspec"</font> , Var2Char( GetEnv(<font class="xpp-string">"COMSPEC"</font>)))<br> 0142 oTab:AddRow(<font class="xpp-string">"SystemRoot"</font> , Var2Char( GetEnv(<font class="xpp-string">"WINDIR"</font>)))<br> 0143 oTab:AddRow(<font class="xpp-string">"Current"</font> , Lower( CurDrive()+<font class="xpp-string">":\"</font>+CurDir()  <br> 0144 oTab:AddRow(<font class="xpp-string">"Identity"</font> , Var2Char( GetEnv(<font class="xpp-string">"USERNAME"</font>)   <br> 0145 oTab:AddRow(<font class="xpp-string">"User Profile"</font> , Var2Char( GetEnv(<font class="xpp-string">"USERPROFILE"</font>)   <br> 0146 oTab:AddRow(<font class="xpp-string">"Temp Location"</font> , Var2Char( GetEnv(<font class="xpp-string">"TEMP"</font>)   <br> 0147 oTab:AddRow(<font class="xpp-string">"Application Data"</font> , Var2Char( GetEnv(<font class="xpp-string">"APPDATA"</font>)   <br> 0148 <br> 0149 oTab:AddSeparator(<font class="xpp-string">"Http Server Env.:"</font>)<br> 0150 oTab:AddRow(<font class="xpp-string">"Server Software"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_SOFTWARE"</font>)))<br> 0151 oTab:AddRow(<font class="xpp-string">"Server Name"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_NAME"</font>)))<br> 0152 oTab:AddRow(<font class="xpp-string">"Server Address"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_ADDR"</font>)))<br> 0153 oTab:AddRow(<font class="xpp-string">"Server Port"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_PORT"</font>)))<br> 0154 oTab:AddRow(<font class="xpp-string">"Document Root"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"DOCUMENT_ROOT"</font>)))<br> 0155 oTab:AddRow(<font class="xpp-string">"Server Admin"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_ADMIN"</font>)))<br> 0156 oTab:AddRow(<font class="xpp-string">"Script Filename"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SCRIPT_FILENAME"</font>)))<br> 0157 oTab:AddRow(<font class="xpp-string">"Server Protocol"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SERVER_PROTOCOL"</font>)))<br> 0158 oTab:AddRow(<font class="xpp-string">"Request Method"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"REQUEST_METHOD"</font>)))<br> 0159 oTab:AddRow(<font class="xpp-string">"Query String"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"QUERY_STRING"</font>)))<br> 0160 oTab:AddRow(<font class="xpp-string">"Request URI"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"REQUEST_URI"</font>)))<br> 0161 oTab:AddRow(<font class="xpp-string">"Script Name"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"SCRIPT_NAME"</font>)))<br> 0162 <br> 0163 oTab:AddSeparator(<font class="xpp-string">"Http Request Env:"</font>)<br> 0164 oTab:AddRow(<font class="xpp-string">"Accept"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_ACCEPT"</font>)))<br> 0165 oTab:AddRow(<font class="xpp-string">"Referer"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_REFERER"</font>)))<br> 0166 oTab:AddRow(<font class="xpp-string">"Accept Languages"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_ACCEPT_LANGUAGE"</font>)))<br> 0167 oTab:AddRow(<font class="xpp-string">"User Agent"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_USER_AGENT"</font>)))<br> 0168 oTab:AddRow(<font class="xpp-string">"Remote Address"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"REMOTE_ADDR"</font>)))<br> 0169 oTab:AddRow(<font class="xpp-string">"Remote Port"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"REMOTE_PORT"</font>)))<br> 0170 oTab:AddRow(<font class="xpp-string">"Accept Encoding"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_ACCEPT_ENCODING"</font>)))<br> 0171 oTab:AddRow(<font class="xpp-string">"Host"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_HOST"</font>)))<br> 0172 oTab:AddRow(<font class="xpp-string">"Connection"</font> , Var2Char( ::HttpRequest:GetVariable(<font class="xpp-string">"HTTP_CONNECTION"</font>)))<br> 0173 oTab:AddRow(<font class="xpp-string">"Cookies:"</font>, Var2Char( ::HttpRequest:Cookies:Collection  <br> 0174 oTab:AddRow(<font class="xpp-string">"Headers:"</font>, Var2Char( ::HttpRequest:Headers  <br> 0175 <br> 0176 ? oTab:Render()<br> 0177 <br> 0178 %><br> 0179 <br> 0180 </div><br> 0181 <br> 0182 </html></code></div></div></body> On 2015/11/06 06:47 AM, Nestor G. Torres wrote: > Hi Guys, > > At one of my customer sites running windows 7 professional ( with all > updates ) I am experiencing a problem when setting session variables > within CXP modules. > > ::Session:storedir:="C:/TVHS" > > The above line of code crashes or stops my cxp starlite module. I know > this because if I take out this line of code the rest of the cxp module > carries on and finishes normally. > > The odd parts about this problem are: > 1) if I call my starlite application from Firefox then I have no > problems > 2) if I call starlite from chrome or ie it will fail but if i > refresh the page it will work ...also note that opening and closing the > problem browsers has a toggle affect of working and not working. > 3) this problem is only happening at www.jumboentertain.com > 4) opening my demo site www.starlightdemo.com then i have no > problems with chrome or ie. > > what I have done: > 1) switched off the firewall and Anti-virus (no effect) > 2) repaired all registries (no effect) > 3) defragged hard drive (no effect) > 4) scanned for viruses and malware (none found) > 5) removed all unnecessary software installations and rebooted > 6) removed and reinstalled CXP > * computer response times have improved with above but still no effect > on problem > > I call the CXP module using jquery AJAX > > $.ajax({ > async: true, > cache: false, > datatype: "xml", > type: "POST", > data: {storedir: cstoredir}, > url: "Star_Parameters_Newer.cxp" > }).done(function( xml ) { /* do someting */ }); > > There are no problems with logic ... I believe some OS random process is > preventing CXP from setting the session variable. Is it possibly some > setting in the computer software's? > > Has anyone else experienced a problem like this? > > My next step, to try to solve this anomaly is to upgrade the problem > site to Windows 10. > > > Please chime in with any suggestions. > > Kind regards > Nestor > > > > | |
Nestor G. Torres | Re: Session variable problem at one CXP customer site on Tue, 10 Nov 2015 06:30:30 +0200 Hi Again Today I awoke with a new way to approach this problem. 1) uninstall cxp from server 2) uninstall IIS 7.5 and remove any residual config files that might be hanging around. 3) re=install IIS 7.5 and CXP I am hoping with the above attempt that it will fix the problem with a complete refresh of the installation. Kind regards Nestor On 2015/11/06 06:47 AM, Nestor G. Torres wrote: > Hi Guys, > > At one of my customer sites running windows 7 professional ( with all > updates ) I am experiencing a problem when setting session variables > within CXP modules. > > ::Session:storedir:="C:/TVHS" > > The above line of code crashes or stops my cxp starlite module. I know > this because if I take out this line of code the rest of the cxp module > carries on and finishes normally. > > The odd parts about this problem are: > 1) if I call my starlite application from Firefox then I have no > problems > 2) if I call starlite from chrome or ie it will fail but if i > refresh the page it will work ...also note that opening and closing the > problem browsers has a toggle affect of working and not working. > 3) this problem is only happening at www.jumboentertain.com > 4) opening my demo site www.starlightdemo.com then i have no > problems with chrome or ie. > > what I have done: > 1) switched off the firewall and Anti-virus (no effect) > 2) repaired all registries (no effect) > 3) defragged hard drive (no effect) > 4) scanned for viruses and malware (none found) > 5) removed all unnecessary software installations and rebooted > 6) removed and reinstalled CXP > * computer response times have improved with above but still no effect > on problem > > I call the CXP module using jquery AJAX > > $.ajax({ > async: true, > cache: false, > datatype: "xml", > type: "POST", > data: {storedir: cstoredir}, > url: "Star_Parameters_Newer.cxp" > }).done(function( xml ) { /* do someting */ }); > > There are no problems with logic ... I believe some OS random process is > preventing CXP from setting the session variable. Is it possibly some > setting in the computer software's? > > Has anyone else experienced a problem like this? > > My next step, to try to solve this anomaly is to upgrade the problem > site to Windows 10. > > > Please chime in with any suggestions. > > Kind regards > Nestor > > > > | |
Nestor G. Torres | Re: Session variable problem at one CXP customer site on Tue, 10 Nov 2015 10:46:12 +0200 Hi Guy's I am so happy that I managed to correct the problem at my customer site with a fresh load of IIS 7.5 and CXP. visit www.jumboentertain.com customer very happy. This Message sent so that you guys are kept in the loop. Kind regards, Nestor On 2015/11/06 06:47 AM, Nestor G. Torres wrote: > Hi Guys, > > At one of my customer sites running windows 7 professional ( with all > updates ) I am experiencing a problem when setting session variables > within CXP modules. > > ::Session:storedir:="C:/TVHS" > > The above line of code crashes or stops my cxp starlite module. I know > this because if I take out this line of code the rest of the cxp module > carries on and finishes normally. > > The odd parts about this problem are: > 1) if I call my starlite application from Firefox then I have no > problems > 2) if I call starlite from chrome or ie it will fail but if i > refresh the page it will work ...also note that opening and closing the > problem browsers has a toggle affect of working and not working. > 3) this problem is only happening at www.jumboentertain.com > 4) opening my demo site www.starlightdemo.com then i have no > problems with chrome or ie. > > what I have done: > 1) switched off the firewall and Anti-virus (no effect) > 2) repaired all registries (no effect) > 3) defragged hard drive (no effect) > 4) scanned for viruses and malware (none found) > 5) removed all unnecessary software installations and rebooted > 6) removed and reinstalled CXP > * computer response times have improved with above but still no effect > on problem > > I call the CXP module using jquery AJAX > > $.ajax({ > async: true, > cache: false, > datatype: "xml", > type: "POST", > data: {storedir: cstoredir}, > url: "Star_Parameters_Newer.cxp" > }).done(function( xml ) { /* do someting */ }); > > There are no problems with logic ... I believe some OS random process is > preventing CXP from setting the session variable. Is it possibly some > setting in the computer software's? > > Has anyone else experienced a problem like this? > > My next step, to try to solve this anomaly is to upgrade the problem > site to Windows 10. > > > Please chime in with any suggestions. > > Kind regards > Nestor > > > > | |
Allen Lee | Re: Session variable problem at one CXP customer site on Sat, 07 May 2016 09:02:45 -0700 Do you have any idea if the problem originated specifically from IIS or CXP or what may have caused the issue? On 11/10/2015 12:46 AM, Nestor G. Torres wrote: > Hi Guy's > > I am so happy that I managed to correct the problem at my customer site > with a fresh load of IIS 7.5 and CXP. > > visit www.jumboentertain.com customer very happy. > > This Message sent so that you guys are kept in the loop. > > Kind regards, > Nestor > > > On 2015/11/06 06:47 AM, Nestor G. Torres wrote: >> Hi Guys, >> >> At one of my customer sites running windows 7 professional ( with all >> updates ) I am experiencing a problem when setting session variables >> within CXP modules. >> >> ::Session:storedir:="C:/TVHS" >> >> The above line of code crashes or stops my cxp starlite module. I know >> this because if I take out this line of code the rest of the cxp module >> carries on and finishes normally. >> >> The odd parts about this problem are: >> 1) if I call my starlite application from Firefox then I have no >> problems >> 2) if I call starlite from chrome or ie it will fail but if i >> refresh the page it will work ...also note that opening and closing the >> problem browsers has a toggle affect of working and not working. >> 3) this problem is only happening at www.jumboentertain.com >> 4) opening my demo site www.starlightdemo.com then i have no >> problems with chrome or ie. >> >> what I have done: >> 1) switched off the firewall and Anti-virus (no effect) >> 2) repaired all registries (no effect) >> 3) defragged hard drive (no effect) >> 4) scanned for viruses and malware (none found) >> 5) removed all unnecessary software installations and rebooted >> 6) removed and reinstalled CXP >> * computer response times have improved with above but still no effect >> on problem >> >> I call the CXP module using jquery AJAX >> >> $.ajax({ >> async: true, >> cache: false, >> datatype: "xml", >> type: "POST", >> data: {storedir: cstoredir}, >> url: "Star_Parameters_Newer.cxp" >> }).done(function( xml ) { /* do someting */ }); >> >> There are no problems with logic ... I believe some OS random process is >> preventing CXP from setting the session variable. Is it possibly some >> setting in the computer software's? >> >> Has anyone else experienced a problem like this? >> >> My next step, to try to solve this anomaly is to upgrade the problem >> site to Windows 10. >> >> >> Please chime in with any suggestions. >> >> Kind regards >> Nestor >> >> >> >> > | |
Nestor G. Torres | Re: Session variable problem at one CXP customer site on Sun, 08 May 2016 06:54:29 +0200 Hi Allen, Having reinstalled both IIS and CXP I do not know where the problem originated. Also I have not had any further or similar problems anywhere else. By the way Windows 10 behaves very well and all my clients working with their own local IIS servers are running vanilla flavored Windows 10. Note The www.Jumboentertain.com customer is running on a very slow ADSL line 2megabit download and .5megabit upload and She is happy with the performance; and she doesn't pay very much for the line. Kind regards, Nestor On 07-May-16 6:02 PM, Allen Lee wrote: > Do you have any idea if the problem originated specifically from IIS or > CXP or what may have caused the issue? > > On 11/10/2015 12:46 AM, Nestor G. Torres wrote: >> Hi Guy's >> >> I am so happy that I managed to correct the problem at my customer site >> with a fresh load of IIS 7.5 and CXP. >> >> visit www.jumboentertain.com customer very happy. >> >> This Message sent so that you guys are kept in the loop. >> >> Kind regards, >> Nestor >> >> >> On 2015/11/06 06:47 AM, Nestor G. Torres wrote: >>> Hi Guys, >>> >>> At one of my customer sites running windows 7 professional ( with all >>> updates ) I am experiencing a problem when setting session variables >>> within CXP modules. >>> >>> ::Session:storedir:="C:/TVHS" >>> >>> The above line of code crashes or stops my cxp starlite module. I know >>> this because if I take out this line of code the rest of the cxp module >>> carries on and finishes normally. >>> >>> The odd parts about this problem are: >>> 1) if I call my starlite application from Firefox then I have no >>> problems >>> 2) if I call starlite from chrome or ie it will fail but if i >>> refresh the page it will work ...also note that opening and closing the >>> problem browsers has a toggle affect of working and not working. >>> 3) this problem is only happening at www.jumboentertain.com >>> 4) opening my demo site www.starlightdemo.com then i have no >>> problems with chrome or ie. >>> >>> what I have done: >>> 1) switched off the firewall and Anti-virus (no effect) >>> 2) repaired all registries (no effect) >>> 3) defragged hard drive (no effect) >>> 4) scanned for viruses and malware (none found) >>> 5) removed all unnecessary software installations and rebooted >>> 6) removed and reinstalled CXP >>> * computer response times have improved with above but still no effect >>> on problem >>> >>> I call the CXP module using jquery AJAX >>> >>> $.ajax({ >>> async: true, >>> cache: false, >>> datatype: "xml", >>> type: "POST", >>> data: {storedir: cstoredir}, >>> url: "Star_Parameters_Newer.cxp" >>> }).done(function( xml ) { /* do someting */ }); >>> >>> There are no problems with logic ... I believe some OS random process is >>> preventing CXP from setting the session variable. Is it possibly some >>> setting in the computer software's? >>> >>> Has anyone else experienced a problem like this? >>> >>> My next step, to try to solve this anomaly is to upgrade the problem >>> site to Windows 10. >>> >>> >>> Please chime in with any suggestions. >>> >>> Kind regards >>> Nestor >>> >>> >>> >>> >> > | |
Nestor G. Torres | Re: Session variable problem at one CXP customer site on Sun, 08 May 2016 06:58:47 +0200 Hi Allen, Having reinstalled both IIS and CXP I do not know where the problem originated. Also I have not had any further or similar problems anywhere else. By the way Windows 10 behaves very well and all my clients working with their own local IIS servers are running vanilla flavored Windows 10. Note The www.toplineonline.co.za customer is running on a very slow ADSL line 2megabit download and .5megabit upload and She is happy with the performance; and she doesn't pay very much for the line. Kind regards, Nestor On 07-May-16 6:02 PM, Allen Lee wrote: > Do you have any idea if the problem originated specifically from IIS or > CXP or what may have caused the issue? > > On 11/10/2015 12:46 AM, Nestor G. Torres wrote: >> Hi Guy's >> >> I am so happy that I managed to correct the problem at my customer site >> with a fresh load of IIS 7.5 and CXP. >> >> visit www.jumboentertain.com customer very happy. >> >> This Message sent so that you guys are kept in the loop. >> >> Kind regards, >> Nestor >> >> >> On 2015/11/06 06:47 AM, Nestor G. Torres wrote: >>> Hi Guys, >>> >>> At one of my customer sites running windows 7 professional ( with all >>> updates ) I am experiencing a problem when setting session variables >>> within CXP modules. >>> >>> ::Session:storedir:="C:/TVHS" >>> >>> The above line of code crashes or stops my cxp starlite module. I know >>> this because if I take out this line of code the rest of the cxp module >>> carries on and finishes normally. >>> >>> The odd parts about this problem are: >>> 1) if I call my starlite application from Firefox then I have no >>> problems >>> 2) if I call starlite from chrome or ie it will fail but if i >>> refresh the page it will work ...also note that opening and closing the >>> problem browsers has a toggle affect of working and not working. >>> 3) this problem is only happening at www.jumboentertain.com >>> 4) opening my demo site www.starlightdemo.com then i have no >>> problems with chrome or ie. >>> >>> what I have done: >>> 1) switched off the firewall and Anti-virus (no effect) >>> 2) repaired all registries (no effect) >>> 3) defragged hard drive (no effect) >>> 4) scanned for viruses and malware (none found) >>> 5) removed all unnecessary software installations and rebooted >>> 6) removed and reinstalled CXP >>> * computer response times have improved with above but still no effect >>> on problem >>> >>> I call the CXP module using jquery AJAX >>> >>> $.ajax({ >>> async: true, >>> cache: false, >>> datatype: "xml", >>> type: "POST", >>> data: {storedir: cstoredir}, >>> url: "Star_Parameters_Newer.cxp" >>> }).done(function( xml ) { /* do someting */ }); >>> >>> There are no problems with logic ... I believe some OS random process is >>> preventing CXP from setting the session variable. Is it possibly some >>> setting in the computer software's? >>> >>> Has anyone else experienced a problem like this? >>> >>> My next step, to try to solve this anomaly is to upgrade the problem >>> site to Windows 10. >>> >>> >>> Please chime in with any suggestions. >>> >>> Kind regards >>> Nestor >>> >>> >>> >>> >> > | |
Jimmy Huang | Re: Session variable problem at one CXP customer site on Mon, 09 May 2016 01:44:09 +0800 Hi Nestor, I have some suggestions for you : 1) use same browser to open same page from tow site demo & production site, save the HTML source to a file, compare it , maybe you can find some thing is difference; 2) Check Production environment Logging files, I think you can found some error there. (Example: %SystemDrive%\inetpub\logs\LogFiles) Best Regards, Jimmy Huang -------------------------------------------------------------------------------- Mobile: (+86)189-3820-1558 / (+86)135-3259-9935 Tel: (+86)0769-81360887 E-mail: JimmyHuang@rsidg.com Skype : JimmyHuangDg Web : Http://www.rsidg.com -------------------------------------------------------------------------------- "Nestor G. Torres" 写入消息 news:77b2935e$2d505a8f$bd08c@news.alaska-software.com... Hi Allen, Having reinstalled both IIS and CXP I do not know where the problem originated. Also I have not had any further or similar problems anywhere else. By the way Windows 10 behaves very well and all my clients working with their own local IIS servers are running vanilla flavored Windows 10. Note The www.toplineonline.co.za customer is running on a very slow ADSL line 2megabit download and .5megabit upload and She is happy with the performance; and she doesn't pay very much for the line. Kind regards, Nestor On 07-May-16 6:02 PM, Allen Lee wrote: > Do you have any idea if the problem originated specifically from IIS or > CXP or what may have caused the issue? > > On 11/10/2015 12:46 AM, Nestor G. Torres wrote: >> Hi Guy's >> >> I am so happy that I managed to correct the problem at my customer site >> with a fresh load of IIS 7.5 and CXP. >> >> visit www.jumboentertain.com customer very happy. >> >> This Message sent so that you guys are kept in the loop. >> >> Kind regards, >> Nestor >> >> >> On 2015/11/06 06:47 AM, Nestor G. Torres wrote: >>> Hi Guys, >>> >>> At one of my customer sites running windows 7 professional ( with all >>> updates ) I am experiencing a problem when setting session variables >>> within CXP modules. >>> >>> ::Session:storedir:="C:/TVHS" >>> >>> The above line of code crashes or stops my cxp starlite module. I know >>> this because if I take out this line of code the rest of the cxp module >>> carries on and finishes normally. >>> >>> The odd parts about this problem are: >>> 1) if I call my starlite application from Firefox then I have no >>> problems >>> 2) if I call starlite from chrome or ie it will fail but if i >>> refresh the page it will work ...also note that opening and closing the >>> problem browsers has a toggle affect of working and not working. >>> 3) this problem is only happening at www.jumboentertain.com >>> 4) opening my demo site www.starlightdemo.com then i have no >>> problems with chrome or ie. >>> >>> what I have done: >>> 1) switched off the firewall and Anti-virus (no effect) >>> 2) repaired all registries (no effect) >>> 3) defragged hard drive (no effect) >>> 4) scanned for viruses and malware (none found) >>> 5) removed all unnecessary software installations and rebooted >>> 6) removed and reinstalled CXP >>> * computer response times have improved with above but still no effect >>> on problem >>> >>> I call the CXP module using jquery AJAX >>> >>> $.ajax({ >>> async: true, >>> cache: false, >>> datatype: "xml", >>> type: "POST", >>> data: {storedir: cstoredir}, >>> url: "Star_Parameters_Newer.cxp" >>> }).done(function( xml ) { /* do someting */ }); >>> >>> There are no problems with logic ... I believe some OS random process is >>> preventing CXP from setting the session variable. Is it possibly some >>> setting in the computer software's? >>> >>> Has anyone else experienced a problem like this? >>> >>> My next step, to try to solve this anomaly is to upgrade the problem >>> site to Windows 10. >>> >>> >>> Please chime in with any suggestions. >>> >>> Kind regards >>> Nestor >>> >>> >>> >>> >> > |