Re: preventing double submit in tapestry
Is there a non-javascript solution to this problem? I have been experimenting with code based on the forum post below. Has anyone developed a solution for Tapestry? I propose some sort of consensus should be reached as to what the best method is to handle double submits and a patch should be made for Tapestry. Any comments? Ideas? quote from Forum Post There is a server-side solution for this problem. Here is the concept: Build a way to identify each form from which a request (or multiple requests, if the form button is clicked several times) arrives. This can be done by having a hidden input element included in the form, whose value is a unique number (typically using the time in milliseconds). Write a filter implementing the javax.servlet.Filter interface, with the following logic in the doFilter() method: Synchronize a code block on a session-scoped object. Inside this block, check if the form-id received through the current request is same as the one received previously. If different, this is the first request received from the form (i.e. the request originated as a result of the first click). If same, this is a subsequent request, generated as a result of multiple clicks. In the first case, invoke FilterChain.doFilter() by passing a ResponseWrapper object instead of the original response object. This ResponseWrapper object should be built with a ByteArrayOutputStream object, so that the response content can be extracted as a String. When the FilterChain.doFilter() method returns, save the response content and the current form-id in session-scope, for subsequent requests and leave the synchronized block. Then outside the synchronized block, forward all the requests (including the first one) to a LoopBackServlet with the original request and response objects. The whole purpose of this LoopBackServlet is to write the saved response content into the response object. In this way, when multiple requests arrive from the same form as a result of multiple clicks, we let the first request thread proceed, with a response-wrapper and block all the other threads. When the first thread returns with the response ready, the response content is stored in session and the same is written to all the blocked threads when they become unblocked. If anybody wants more details, please email me at [EMAIL PROTECTED], I can send the working code. /quote from Forum Post http://forum.java.sun.com/thread.jspa?threadID=665472start=15tstart=0 On 11/15/06, Denis McCarthy [EMAIL PROTECTED] wrote: I was looking for a sledgehammer to crack a nut. That's how I ended up doing it (after spending the day looking for an enterprisey solution!) Thanks Denis Jesse Kuhnert wrote: Why don't you just disable the submit buttons in question when they submit? (set the disabled attribute to true) On 11/15/06, Denis McCarthy [EMAIL PROTECTED] wrote: Hi, I'm encountering a problem in my app where users are double submitting a form, creating a hibernate exception in the back end where two sessions are attempting to update the same collection. I've read some posts about preventing form resubmission by using a unique token in the form to detect a double submit. If a double submit is detected, the second and subsequent submits wait until the original one returns and then report the outcome of that transaction (if I understand correctly, it's the last submit that issues the response to the user, and the first one does the updating). I'm wondering a) is this indeed the right approach to stop users who are over-enthusiastic in their button clicking from encountering errors, and b) does anyone have an actual example of code that implements this pattern? Thanks very much Denis Mc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Form Component that outputs raw DisplayName
I have a component that implements IFormComponent - and has a getDisplayName() method that returns the name for use in a label. I need the outputed text in the label to be RAW - is there any simple way of doing this? -jm
Tapestry / Spring / Hibernate / Tomcat strange error
We are getting the following error sporadically. Can anyone shed any light on this for us? org.apache.hivemind.ApplicationRuntimeException: No engine service named *(arbitrary string here - usually a bogus email address)* at org.apache.tapestry.services.impl.ServiceMapImpl.buildProxy( ServiceMapImpl.java:143) at org.apache.tapestry.services.impl.ServiceMapImpl.getService( ServiceMapImpl.java:105) at $ServiceMap_10cb01fc8b0.getService($ServiceMap_10cb01fc8b0.java) at org.apache.tapestry.engine.RequestCycle.getService(RequestCycle.java:202) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java :241) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service( InvokeEngineTerminator.java:60) at $WebRequestServicer_10cb01fc8e0.service($WebRequestServicer_10cb01fc8e0.java) at $WebRequestServicer_10cb01fc8dc.service($WebRequestServicer_10cb01fc8dc.java) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service( WebRequestServicerPipelineBridge.java:56) at $ServletRequestServicer_10cb01fc8c0.service($ServletRequestServicer_10cb01fc8c0.java) at org.apache.tapestry.request.DecodedRequestInjector.service( DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_10cb01fc8bc.service($ServletRequestServicerFilter_10cb01fc8bc.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service( MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_10cb01fc8ba.service($ServletRequestServicerFilter_10cb01fc8ba.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service( SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_10cb01fc8be.service($ServletRequestServicerFilter_10cb01fc8be.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at $ServletRequestServicer_10cb01fc8b4.service($ServletRequestServicer_10cb01fc8b4.java) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java :123) at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java :168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal (OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter( OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java :148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
Re: Tapestry / Spring / Hibernate / Tomcat strange error
We have no urls like this. I'm starting to suspect that it's somebody trying to hack On 8/3/06, Ron Piterman [EMAIL PROTECTED] wrote: I would check your urls: you probably try to access an engine service which does not exist. either through an url or when generating a link? check the url which generates this exception, specifically the service= parameter ( if using roude URLs ). If you are using fiendly URLs, try to see which encoder makes problems. Cheers, Ron John Menke wrote: We are getting the following error sporadically. Can anyone shed any light on this for us? org.apache.hivemind.ApplicationRuntimeException: No engine service named *(arbitrary string here - usually a bogus email address)* at org.apache.tapestry.services.impl.ServiceMapImpl.buildProxy( ServiceMapImpl.java:143) at org.apache.tapestry.services.impl.ServiceMapImpl.getService( ServiceMapImpl.java:105) at $ServiceMap_10cb01fc8b0.getService($ServiceMap_10cb01fc8b0.java) at org.apache.tapestry.engine.RequestCycle.getService(RequestCycle.java :202) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java :241) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service( InvokeEngineTerminator.java:60) at $WebRequestServicer_10cb01fc8e0.service($WebRequestServicer_10cb01fc8e0.java) at $WebRequestServicer_10cb01fc8dc.service($WebRequestServicer_10cb01fc8dc.java) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service ( WebRequestServicerPipelineBridge.java:56) at $ServletRequestServicer_10cb01fc8c0.service($ServletRequestServicer_10cb01fc8c0.java) at org.apache.tapestry.request.DecodedRequestInjector.service( DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_10cb01fc8bc.service($ServletRequestServicerFilter_10cb01fc8bc.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service( MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_10cb01fc8ba.service($ServletRequestServicerFilter_10cb01fc8ba.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service( SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_10cb01fc8be.service($ServletRequestServicerFilter_10cb01fc8be.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at $ServletRequestServicer_10cb01fc8b4.service($ServletRequestServicer_10cb01fc8b4.java) at org.apache.tapestry.ApplicationServlet.doService( ApplicationServlet.java :123) at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java :168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal (OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter( OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java :148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tapestry / Spring / Hibernate / Tomcat strange error
I will try to see if I can isolate the IP address. Thanks for your advice On 8/3/06, James Carman [EMAIL PROTECTED] wrote: Do you have an access log? Maybe you can see where these requests are coming from. It very well could be someone trying to hack your site. -Original Message- From: John Menke [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 11:27 AM To: Tapestry users Subject: Re: Tapestry / Spring / Hibernate / Tomcat strange error We have no urls like this. I'm starting to suspect that it's somebody trying to hack On 8/3/06, Ron Piterman [EMAIL PROTECTED] wrote: I would check your urls: you probably try to access an engine service which does not exist. either through an url or when generating a link? check the url which generates this exception, specifically the service= parameter ( if using roude URLs ). If you are using fiendly URLs, try to see which encoder makes problems. Cheers, Ron John Menke wrote: We are getting the following error sporadically. Can anyone shed any light on this for us? org.apache.hivemind.ApplicationRuntimeException: No engine service named *(arbitrary string here - usually a bogus email address)* at org.apache.tapestry.services.impl.ServiceMapImpl.buildProxy( ServiceMapImpl.java:143) at org.apache.tapestry.services.impl.ServiceMapImpl.getService( ServiceMapImpl.java:105) at $ServiceMap_10cb01fc8b0.getService($ServiceMap_10cb01fc8b0.java) at org.apache.tapestry.engine.RequestCycle.getService(RequestCycle.java :202) at org.apache.tapestry.engine.AbstractEngine.service( AbstractEngine.java :241) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service( InvokeEngineTerminator.java:60) at $WebRequestServicer_10cb01fc8e0.service($WebRequestServicer_10cb01fc8e0.java ) at $WebRequestServicer_10cb01fc8dc.service($WebRequestServicer_10cb01fc8dc.java ) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service ( WebRequestServicerPipelineBridge.java:56) at $ServletRequestServicer_10cb01fc8c0.service($ServletRequestServicer_10cb01fc 8c0.java) at org.apache.tapestry.request.DecodedRequestInjector.service( DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_10cb01fc8bc.service($ServletRequestServicerFil ter_10cb01fc8bc.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc 8c2.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service( MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_10cb01fc8ba.service($ServletRequestServicerFil ter_10cb01fc8ba.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc 8c2.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service( SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_10cb01fc8be.service($ServletRequestServicerFil ter_10cb01fc8be.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc 8c2.java) at $ServletRequestServicer_10cb01fc8b4.service($ServletRequestServicer_10cb01fc 8b4.java) at org.apache.tapestry.ApplicationServlet.doService( ApplicationServlet.java :123) at org.apache.tapestry.ApplicationServlet.doPost( ApplicationServlet.java :168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterI nternal (OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter( OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java :126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java :105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java :148) at org.apache.coyote.http11.Http11Processor.process( Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC onnection (Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
Unable to decode stream: Unexpected end of ZLIB input stream
Has anyone seen this error? We are getting sporadically on our site: org.apache.hivemind.ApplicationRuntimeException: Unable to decode stream: Unexpected end of ZLIB input stream at org.apache.tapestry.services.impl.LinkFactoryImpl.extractListenerParameters( LinkFactoryImpl.java:185) at $LinkFactory_10cb01fc87a.extractListenerParameters($LinkFactory_10cb01fc87a.java) at org.apache.tapestry.engine.DirectService.service(DirectService.java :130) at $IEngineService_10cb01fc902.service($IEngineService_10cb01fc902.java) at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service( EngineServiceOuterProxy.java:66) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java :248) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service( InvokeEngineTerminator.java:60) at $WebRequestServicer_10cb01fc8e0.service($WebRequestServicer_10cb01fc8e0.java) at $WebRequestServicer_10cb01fc8dc.service($WebRequestServicer_10cb01fc8dc.java) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service( WebRequestServicerPipelineBridge.java:56) at $ServletRequestServicer_10cb01fc8c0.service($ServletRequestServicer_10cb01fc8c0.java) at org.apache.tapestry.request.DecodedRequestInjector.service( DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_10cb01fc8bc.service($ServletRequestServicerFilter_10cb01fc8bc.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service( MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_10cb01fc8ba.service($ServletRequestServicerFilter_10cb01fc8ba.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service( SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_10cb01fc8be.service($ServletRequestServicerFilter_10cb01fc8be.java) at $ServletRequestServicer_10cb01fc8c2.service($ServletRequestServicer_10cb01fc8c2.java) at $ServletRequestServicer_10cb01fc8b4.service($ServletRequestServicer_10cb01fc8b4.java) at org.apache.tapestry.ApplicationServlet.doService( ApplicationServlet.java:123) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java :79) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal (OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter( OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to decode stream: Unexpected end of ZLIB input stream at org.apache.tapestry.util.io.SerializableAdaptor.unsqueeze( SerializableAdaptor.java:127) at $SqueezeAdaptor_10cb01fc9b5.unsqueeze($SqueezeAdaptor_10cb01fc9b5.java) at org.apache.tapestry.util.io.DataSqueezerImpl.unsqueeze( DataSqueezerImpl.java:179) at org.apache.tapestry.util.io.DataSqueezerImpl.unsqueeze( DataSqueezerImpl.java:199) at $DataSqueezer_10cb01fc878.unsqueeze($DataSqueezer_10cb01fc878.java) at org.apache.tapestry.services.impl.LinkFactoryImpl.extractListenerParameters( LinkFactoryImpl.java:181) ... 42 more Caused by: java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216) at
link to Service gettting ampersands encoded and fouling up my query parameters
I create a url string which i use as src to an IFrame. This url points to a Tapestry service. I have been having problems with the parameters being encoded incorrectly intermittently. Ampersands end up getting encoded like this: http://mysite.com?service=MyServiceamp;acco untID=1603272555amp;eventID=1780amp; Can i prevent tapestry from encoding the params in a link?
Number Translator and Commas
I am trying to do this: binding name=translator value=translator:number,pattern=###,###.##/ but i get the error Class org.apache.tapestry.form.translator.NumberTranslator does not contain a property named '###.##''. It seems that the comma is being intepreted as marking a new property. Is there any way to specifiy commas in the pattern? -john
Re: strange problem losing session variables
We are getting null values so the values are being lost it's not sync problem. On 6/7/06, Henri Dupre [EMAIL PROTECTED] wrote: Maybe synchronization glitches can be the cause? nothing prevents a user from firing two concurrent requests that would both modify your session objects at the same time. On 6/7/06, John Menke [EMAIL PROTECTED] wrote: Peter it's definitely storing them... This problem is sporadic... we can't reproduce - only we see the errors in the log On 6/5/06, Peter Dawn [EMAIL PROTECTED] wrote: perhaps your variable is not being stored in the first place. i used to get the same errors and then i realised that my original code was not storing the variables in the first place. make sure that your code is storing session variables in the first place. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Henri.
Re: strange problem losing session variables
Peter it's definitely storing them... This problem is sporadic... we can't reproduce - only we see the errors in the log On 6/5/06, Peter Dawn [EMAIL PROTECTED] wrote: perhaps your variable is not being stored in the first place. i used to get the same errors and then i realised that my original code was not storing the variables in the first place. make sure that your code is storing session variables in the first place. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]