<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1181911756227661296</id><updated>2024-09-04T13:27:16.953-07:00</updated><category term="Fluent Nhibernate"/><category term="Asp.Net Life-cycle life cycle"/><category term="Close all IE from run line"/><category term="Debugging  DLL unable to enter"/><category term="Delete duplicate rows  oracle"/><category term="Fluent Nhibernate  adjusting to existing db  mapping right"/><category term="Fluent Nhibernate configuring OptimistickLock.Dirty() with Transaction.IsolationLevel.ReadCommited when the row locked in Oracle 10g"/><category term="HasMany"/><category term="Inheritance in jQuery"/><category term="MDF file Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed"/><category term="MySql Collation Joomla Hebrew phpMyAdmin utf8"/><category term="NHibernate.MappingException: No persister for:"/><category term="Not to Use Thread Pool"/><category term="Oracle"/><category term="Oracle Sequence Decrease"/><category term="SQLite"/><category term="Sequence generator"/><category term="Session Timeout troubleshout"/><category term="Sql special chars select"/><category term="Uninstalling Oracle 10g Manually from Windows XP"/><category term="Unit Testing"/><category term="build 164"/><category term="forgot Joomla Administrator ( admin ) password"/><category term="not by id property"/><category term="svn patch .patch"/><title type='text'>Kaidanov Tzvi Gregory Technical Blog</title><subtitle type='html'>A collection of article and post on relevant technical problems we are meating each day. &#xa;Problems and their solutions.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-8478801709323763294</id><published>2010-07-28T00:46:00.000-07:00</published><updated>2010-07-28T01:02:20.622-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fluent Nhibernate configuring OptimistickLock.Dirty() with Transaction.IsolationLevel.ReadCommited when the row locked in Oracle 10g"/><title type='text'>Fluent Nhibernate configuring OptimistickLock.Dirty() with Transaction.IsolationLevel.ReadCommited when the row locked in Oracle 10g</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The problem is :&lt;br /&gt;I have a working system with FluentNhibernate.&lt;br /&gt;I have a legacy database and it&#39;s hybrid system which suppose to give an answer to a new and old systems as one. So that means I couldn&#39;t use the Version - which means at this point to change the schema and add column to each table. &lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;I&#39;ve added OptimistickLock.Dirty() with Transaction.IsolationLevel.ReadCommited() to deal with the problem of locking . &lt;br /&gt;The trouble is that when the row locked in Oracle 10g and I am trying to SaveOrUpdate the entity it just stops the application.&lt;br /&gt; &lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;Then , when I save or rollback in Oracle the Application gets the process back and throws the exception NHibernate.StaleObjectStateException that is being handled in my exception handler which is fine.&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;The question is how to make the application to recognize on the spot that there is a lock on the current row I am trying to access and throw the adequate exception .</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/8478801709323763294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/fluent-nhibernate-configuring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/8478801709323763294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/8478801709323763294'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/fluent-nhibernate-configuring.html' title='Fluent Nhibernate configuring OptimistickLock.Dirty() with Transaction.IsolationLevel.ReadCommited when the row locked in Oracle 10g'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-7632759321659458803</id><published>2010-07-25T05:50:00.001-07:00</published><updated>2010-07-25T05:50:48.341-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Close all IE from run line"/><title type='text'>Close all IE from run line</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;taskkill /im iexplore.exe /f</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/7632759321659458803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/close-all-ie-from-run-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/7632759321659458803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/7632759321659458803'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/close-all-ie-from-run-line.html' title='Close all IE from run line'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-1135824504099630900</id><published>2010-07-25T02:48:00.000-07:00</published><updated>2010-07-25T02:51:37.185-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debugging  DLL unable to enter"/><title type='text'>Debugging another project DLL</title><content type='html'>My problem was to enter the referenced DLL to my project while I was debugging to analyze the mistake that has been created in it.&lt;br /&gt;The solution is : With the DLL you need to make sure&lt;br /&gt;1. it was built in DEBUG mode&lt;br /&gt;2. it has the pdb file with it&lt;br /&gt;Without these 2 you cannot debug the code &lt;br /&gt;&lt;br /&gt;When I placed the pdb file in my projects bin folder it worked like a magic .</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/1135824504099630900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/debugging-another-project-dll.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/1135824504099630900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/1135824504099630900'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/debugging-another-project-dll.html' title='Debugging another project DLL'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-2243095161364850279</id><published>2010-07-18T11:31:00.001-07:00</published><updated>2010-07-18T11:46:42.416-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asp.Net Life-cycle life cycle"/><title type='text'>Basic Asp.Net Life Cycle</title><content type='html'>From http://www.asp.net/general/videos/page-lifecycle-events&lt;br /&gt;A bit about the order in the asp.net forms&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;brush: vb.net&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Class _Default&lt;br /&gt;    Inherits System.Web.UI.Page&lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;    Private Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit&lt;br /&gt;        &#39;if ths post is a postback we can check the IsPostback property&lt;br /&gt;        &#39;if this is a Postback the user controls hasn&#39;t been reconstituted from the viewstate yet&lt;br /&gt;        &#39;set things that are global to the page&lt;br /&gt;        &#39;dynamicly set a master page or a theme property , desision based on a geography or a time &lt;br /&gt;        &#39;profile property&lt;br /&gt;        &#39;dynamicly added controls by a logic &lt;br /&gt;    End Sub&lt;br /&gt;    Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init&lt;br /&gt;        &#39;rewrite any specific control properties&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Page_InitComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.InitComplete&lt;br /&gt;        &#39;after all of the initialazation took place&lt;br /&gt;        &#39;logic that depends on the controls initialized &lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Page_PreLoad(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreLoad&lt;br /&gt;        &#39;pre loads for all of the controls are being fired &lt;br /&gt;        &#39;after this viewstate is being initialized &lt;br /&gt;        &#39;all of the post back data is being initialized from the postback&lt;br /&gt;    End Sub&lt;br /&gt;    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load&lt;br /&gt;        &#39;any child control event implemented is being fired &lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Page_LoadComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.LoadComplete&lt;br /&gt;        &#39;any task that requires all of the controls on the page to be loaded and validated &lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    Private Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender&lt;br /&gt;        &#39;final changes to controls before its becoming the html &lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    Private Sub Page_SaveStateComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.SaveStateComplete&lt;br /&gt;        &#39;viewstate has been saved &lt;br /&gt;        &#39;won&#39;t be rendered to the page&lt;br /&gt;        &#39;can apply some logic that requires the viewstate to be completed&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload&lt;br /&gt;        &#39;been rendered&lt;br /&gt;        &#39;final cleanups&lt;br /&gt;        &#39;after proccessing&lt;br /&gt;        &#39;close any files&lt;br /&gt;        &#39;release any db connecions&lt;br /&gt;    End Sub&lt;br /&gt;End Class&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/2243095161364850279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/aspnet-life-cycle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2243095161364850279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2243095161364850279'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/07/aspnet-life-cycle.html' title='Basic Asp.Net Life Cycle'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-2709116583623760072</id><published>2010-05-26T22:39:00.001-07:00</published><updated>2010-05-26T22:41:04.375-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Not to Use Thread Pool"/><title type='text'>When Not to Use Thread Pool Threads</title><content type='html'>There are several scenarios in which it is appropriate to create and manage your own threads instead of using thread pool threads:&lt;br /&gt;&lt;br /&gt;You require a foreground thread.&lt;br /&gt;&lt;br /&gt;You require a thread to have a particular priority.&lt;br /&gt;&lt;br /&gt;You have tasks that cause the thread to block for long periods of time. The thread pool has a maximum number of threads, so a large number of blocked thread pool threads might prevent tasks from starting.&lt;br /&gt;&lt;br /&gt;You need to place threads into a single-threaded apartment. All ThreadPool threads are in the multithreaded apartment.&lt;br /&gt;&lt;br /&gt;You need to have a stable identity associated with the thread, or to dedicate a thread to a task.</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/2709116583623760072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/05/when-not-to-use-thread-pool-threads.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2709116583623760072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2709116583623760072'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/05/when-not-to-use-thread-pool-threads.html' title='When Not to Use Thread Pool Threads'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-3700185252361365901</id><published>2010-05-24T23:37:00.000-07:00</published><updated>2010-05-24T23:39:50.764-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sql special chars select"/><title type='text'>Sql - special chars select - records with like condition including %</title><content type='html'>select * from tableName t &lt;br /&gt;where t.ColumnName  LIKE &#39;%\%%&#39; escape &#39;\&#39;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/3700185252361365901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/05/sql-special-chars-select-records-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/3700185252361365901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/3700185252361365901'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/05/sql-special-chars-select-records-with.html' title='Sql - special chars select - records with like condition including %'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-2652763205303025065</id><published>2010-05-09T01:26:00.000-07:00</published><updated>2010-05-09T01:49:06.899-07:00</updated><title type='text'>System Error &amp;H80004005&amp;  - missing file in project</title><content type='html'>Error in debug compilation for WebApp project &quot;Unable to write to output file &#39;[project path]\obj\Debug\[website].pbd&#39; : System Error &amp;H80004005&amp;&quot;&lt;br /&gt;&lt;br /&gt;Turns out there was a file in the project that didn&#39;t exist (little exclamation mark on the file in solution explorer). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Our solutions , the programmer that checked the .proj file in should :&lt;br /&gt;1).Exclude from project the file he&#39;s working on , and didn&#39;t want to check in and then check in the project file.&lt;br /&gt;2).Finish development until the compilation is fine , than check in the project file.&lt;br /&gt;3).If the file is redundant and was left by some reason , just delete the file and rebuild the project .</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/2652763205303025065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/05/system-error-missing-file-in-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2652763205303025065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2652763205303025065'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/05/system-error-missing-file-in-project.html' title='System Error &amp;H80004005&amp;  - missing file in project'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-8813697873205360832</id><published>2010-02-17T07:23:00.000-08:00</published><updated>2010-02-17T07:25:50.336-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="forgot Joomla Administrator ( admin ) password"/><title type='text'>Crack it up - forgot Joomla Administrator ( admin ) password</title><content type='html'>For some time couldn&#39;t enter one of my own site  - &lt;br /&gt;if you forgot the password for joomla and have access to your db this is the answer - &lt;br /&gt;&lt;a href=&quot;http://www.teachmejoomla.net/joomla-mambo-tutorials-and-howtos/general-questions/how-to-change-or-recover-joomla-administrator-password.html&quot;&gt;create the admin password&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/8813697873205360832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/02/crack-it-up-forgot-joomla-administrator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/8813697873205360832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/8813697873205360832'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/02/crack-it-up-forgot-joomla-administrator.html' title='Crack it up - forgot Joomla Administrator ( admin ) password'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-1397295193579305808</id><published>2010-02-13T13:14:00.000-08:00</published><updated>2010-02-13T13:14:16.781-08:00</updated><title type='text'>Install CAPTCHA into default Joomla 1.5 Contact form</title><content type='html'>&lt;a href=&quot;http://www.joomlasandiego.org/component/content/article/42-learn-joomla/54-install-captcha&quot;&gt;Install CAPTCHA into default Joomla 1.5 Contact form&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/1397295193579305808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/02/install-captcha-into-default-joomla-15.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/1397295193579305808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/1397295193579305808'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/02/install-captcha-into-default-joomla-15.html' title='Install CAPTCHA into default Joomla 1.5 Contact form'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-1489699295156288789</id><published>2010-01-29T00:14:00.000-08:00</published><updated>2010-01-29T00:29:17.542-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fluent Nhibernate"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Sequence generator"/><title type='text'>Fluent NHibernate Sequence Strategy with Oracle</title><content type='html'>The environment :&lt;br /&gt; Working with Oracle 10g.&lt;br /&gt; At the mapping files of the FNH on the ID column define the sequence to work with.&lt;br /&gt; This is a relevant sequence used by the relevant trigger used for the current table.&lt;br /&gt; The db is a legacy db - using triggers to increment the records on the insert.&lt;br /&gt;The problem :&lt;br /&gt; When I save the record I&#39;m getting back the record number. Well I&#39;m getting the expected number +1 , every time . The record is being inserted and the record number jumps two times instead of one.&lt;br /&gt;The solution:&lt;br /&gt; In the trigger you must enter check to see if the new value is null , and only then increment the trigger . If it&#39;s not null it means it was incremented by FNH already and there is no need to activate the increment in the trigger.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;CREATE OR REPLACE TRIGGER DOAR_DEV.CUSTOMER_TRG1&lt;br /&gt;BEFORE INSERT&lt;br /&gt;ON DOAR_DEV.CUSTOMER REFERENCING NEW AS NEW OLD AS OLD&lt;br /&gt;FOR EACH ROW&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;WHEN (&lt;br /&gt;NEW.CST_RECID IS NULL&lt;br /&gt;      )&lt;/span&gt;&lt;br /&gt;DECLARE&lt;br /&gt;tmpVar NUMBER;&lt;br /&gt;BEGIN&lt;br /&gt;   tmpVar := 0;&lt;br /&gt;  &lt;br /&gt;   SELECT Customer_SEQ.NEXTVAL INTO tmpVar FROM dual;&lt;br /&gt;   :NEW.Cst_RecID := tmpVar;&lt;br /&gt; &lt;br /&gt;   EXCEPTION&lt;br /&gt;     WHEN OTHERS THEN&lt;br /&gt;       -- Consider logging the error and then re-raise&lt;br /&gt;       RAISE;&lt;br /&gt;END ;&lt;br /&gt;/</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/1489699295156288789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/fluent-nhibernate-sequence-strategy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/1489699295156288789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/1489699295156288789'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/fluent-nhibernate-sequence-strategy.html' title='Fluent NHibernate Sequence Strategy with Oracle'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-7244024240894937249</id><published>2010-01-23T11:27:00.000-08:00</published><updated>2010-01-23T11:41:38.276-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="build 164"/><category scheme="http://www.blogger.com/atom/ns#" term="Fluent Nhibernate"/><category scheme="http://www.blogger.com/atom/ns#" term="HasMany"/><category scheme="http://www.blogger.com/atom/ns#" term="not by id property"/><title type='text'>Fluent NHibernate HasMany PropertyRef solution</title><content type='html'>For a long time tried to find the solution for HasMany relationship not through ID property of the entity .&lt;br /&gt;Starting from Fluent NHibernate build 164 there is a way , no patches included -&lt;br /&gt; HasMany&lt;TChild&gt;(x =&gt; x.Collection_TChild).AsBag()&lt;br /&gt;     .KeyColumn(&quot;CHILDPROPERTY_TOJOINBY&quot;)&lt;br /&gt;     .PropertyRef(&quot;Parent_Property&quot;);&lt;br /&gt;&lt;br /&gt;p.s. &lt;br /&gt; Crazy thing , after including the FNH.dll of 164 version , we were compelled to add&lt;br /&gt;column property to the Mapping . So , it means that we went through all our mappings &lt;br /&gt;and added &lt;br /&gt;&lt;br /&gt;Map(x =&gt; x.Property).Column(&quot;PropertyNameAsItAppearsInOracleDataBase&quot;);&lt;br /&gt;&lt;br /&gt;otherwise the NHibernate didn&#39;t recognized the mappings...</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/7244024240894937249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/fluent-nhibernate-hasmany-propertyref.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/7244024240894937249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/7244024240894937249'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/fluent-nhibernate-hasmany-propertyref.html' title='Fluent NHibernate HasMany PropertyRef solution'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-5944669059782198667</id><published>2010-01-20T04:24:00.000-08:00</published><updated>2010-01-20T04:26:05.415-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="svn patch .patch"/><title type='text'>How to apply/create an svn patch (for beginners)</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To apply an svn patch (your_patch_file.patch) go to the root of your source directory, and place the patch there. (or you can specify the location of the patch with the patch name if it is not placed in the root of the source tree.)&lt;/div&gt;&lt;div&gt;patch -p0 &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Similarly if you have modified the source tree, and want to create a patch for the changes that you made, from the source root:&lt;/div&gt;&lt;div&gt;svn diff &gt; your_patch_file.patch&lt;/div&gt;&lt;div&gt;your_patch_file.patch will be created inside the root of the source tree. (You may specify the location too, as usual)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/5944669059782198667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/how-to-applycreate-svn-patch-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/5944669059782198667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/5944669059782198667'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/how-to-applycreate-svn-patch-for.html' title='How to apply/create an svn patch (for beginners)'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-2010490131754382236</id><published>2010-01-12T09:51:00.001-08:00</published><updated>2010-01-12T09:56:48.801-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NHibernate.MappingException: No persister for:"/><title type='text'>NHibernate.MappingException: No persister for:</title><content type='html'>Means that you forgot to add some entity to your mapping assembly .&lt;div&gt;Check out namespaces of your classes .&lt;/div&gt;&lt;div&gt;Check out that all the classes are public.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/2010490131754382236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/nhibernatemappingexception-no-persister.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2010490131754382236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2010490131754382236'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2010/01/nhibernatemappingexception-no-persister.html' title='NHibernate.MappingException: No persister for:'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-7696461287644713965</id><published>2009-12-10T07:57:00.000-08:00</published><updated>2009-12-10T23:30:08.552-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Inheritance in jQuery"/><title type='text'>Inheritance in jQuery</title><content type='html'>If you have a function in some plugin , that you would like to change to your own needs , you may use inheritance in a very simple way .&lt;br /&gt; You are writting your own function , lets say : foo , and than using prototype method you add the new function instead of the original one.&lt;br /&gt; For exmple in jquery.validate.js you have extend of the validator with function called showLabel.&lt;br /&gt; You can create a new .js file , in which you&#39;ll enter your own function , for instance :&lt;br /&gt; MyFile.js :&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;brush:jscript&quot;&gt;&lt;br /&gt;      function showLabelNewVersion(element, message) {...}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;at the end just add this line to connect the new functionality to the old name of the function :&lt;br /&gt;&lt;pre class=&quot;brush:jscript&quot;&gt;&lt;br /&gt;     $.validator.prototype.showLabel = showLabelNewVersion;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now when your plugin will try to use it&#39;s showLabel it&quot;ll get the content of the showLabelNewVersion.&lt;br /&gt;&lt;br /&gt;Good luck.</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/7696461287644713965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/12/inheritance-in-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/7696461287644713965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/7696461287644713965'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/12/inheritance-in-jquery.html' title='Inheritance in jQuery'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-2234769948509039149</id><published>2009-12-07T01:05:00.001-08:00</published><updated>2009-12-10T23:34:20.366-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Sequence Decrease"/><title type='text'>Oracle Sequence Decrease</title><content type='html'>Very simple .&lt;br /&gt;You can decrease the number of your current sequence .&lt;br /&gt;Important to set the nextval, so that the new value will be caught in the sequence.&lt;br /&gt;And most important to change back the increment by 1 , otherwise it will decrease each time you&quot;ll activate the sequence by the negative number you&#39;ve defined in the first row.&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;brush: sql&quot;&gt;&lt;br /&gt;alter sequence customer_seq increment by -40;&lt;br /&gt;select customer_seq.nextval from dual;&lt;br /&gt;alter sequence customer_seq increment by 1;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/2234769948509039149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/12/oracle-sequence-decrease.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2234769948509039149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2234769948509039149'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/12/oracle-sequence-decrease.html' title='Oracle Sequence Decrease'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-9157798874883973557</id><published>2009-11-20T02:21:00.003-08:00</published><updated>2009-11-20T02:31:31.083-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Session Timeout troubleshout"/><title type='text'>Session Timeout troubleshout -- בעיית תקשורת</title><content type='html'>&lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5Ctzvik%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;link rel=&quot;Edit-Time-Data&quot; href=&quot;file:///C:%5CDOCUME%7E1%5Ctzvik%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso&quot;&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:&quot;&quot;; 	margin:0in; 	margin-bottom:.0001pt; 	text-align:right; 	mso-pagination:widow-orphan; 	direction:rtl; 	unicode-bidi:embed; 	font-size:12.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 	{size:595.3pt 841.9pt; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:35.4pt; 	mso-footer-margin:35.4pt; 	mso-paper-source:0; 	mso-gutter-direction:rtl;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;תקלה :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;קיימת בעיית תקשורת. נא לפנות למנהל מערכת. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; spt=&quot;75&quot; preferrelative=&quot;t&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;  &lt;v:stroke joinstyle=&quot;miter&quot;&gt;  &lt;v:formulas&gt;   &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;   &lt;v:f eqn=&quot;sum @0 1 0&quot;&gt;   &lt;v:f eqn=&quot;sum 0 0 @1&quot;&gt;   &lt;v:f eqn=&quot;prod @2 1 2&quot;&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;   &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;   &lt;v:f eqn=&quot;sum @0 0 1&quot;&gt;   &lt;v:f eqn=&quot;prod @6 1 2&quot;&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;   &lt;v:f eqn=&quot;sum @8 21600 0&quot;&gt;   &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;   &lt;v:f eqn=&quot;sum @10 21600 0&quot;&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; connecttype=&quot;rect&quot;&gt;  &lt;o:lock ext=&quot;edit&quot; aspectratio=&quot;t&quot;&gt; &lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&quot;&#39;width:384pt;&quot;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\tzvik\LOCALS~1\Temp\msohtml1\01\clip_image001.png&quot; title=&quot;timeout&quot;&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;הסבר התקלה :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;לאחר זמן קצר נופלת האפליקציה עם הודעה זו .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;הנפילה קוראת בגלל איבוד &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;פרמטרים הנבדקים בדף בזמן העלאה&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;פתרונות אפשריים :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;לבדוק זמן&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSIONTIMEOUT&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;במקומות הבאים :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;-- ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;IIS&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;נכנס ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;APPLICATION POOL&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;PROPERTIES&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; לטאב של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;PERFORMANCE&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;לשים לב להגדרת &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;IDLE TIMEOUT&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;. אמור להיות 20 דקות .(במקרה שהוא נמוך כל האפליקציות תחת אותו &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;POOL&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; יאבדו &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; לפי הגדרתו)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot; style=&quot;&#39;width:414.75pt;height:311.25pt&#39;&quot;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\tzvik\LOCALS~1\Temp\msohtml1\01\clip_image003.png&quot; title=&quot;&quot;&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;-- ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;IIS&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; נכנסים ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;DEFAULT WEB SITE &lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;לפרויקט שלך , ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;VIRTUAL DIRECTORY&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; שלו ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;PROPERTIES&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;לטאב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;ASP.NET &lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;EDIT CONFIGURATION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;לטאב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;STATE MANAGEMENT&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ולשים לב ש &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION TIMEOUT&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; יוגדר ל 20 דקות . (במקרה שב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;WEB.CONFIG&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;של הפרויקט יוגדר זמן יותר ארוך עדיין ילך לפי ההגדרה הגלובלית )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; style=&quot;&#39;width:414.75pt;height:311.25pt&#39;&quot;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\tzvik\LOCALS~1\Temp\msohtml1\01\clip_image005.png&quot; title=&quot;&quot;&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;יש לשים לב שההגדרות יכולות להיות שונות פר כל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;VIRTUAL DIRECTORY&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;IIS&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;WEB.CONFIG &lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;של הפרויקט –&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;הגדרת&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;sessionState&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;מאפשר להגדיר אורך חיים של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; באפליקציה&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;    &lt;/span&gt;&lt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;sessionState&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:red;&quot;   &gt;mode&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;=&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;InProc&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;stateConnectionString&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;tcpip=127.0.0.1:42424&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;sqlConnectionString&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;data source=127.0.0.1;Trusted_Connection=yes&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;cookieless&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;false&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;timeout&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;4000&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;RTL&quot; style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;HE&quot;&gt;לפי &lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;הניסיון שלנו לקח את ההגדרה של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;IIS&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;לפי ה &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;VIRTUAL DIRECTORY&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; של הפרויקט (20 דקות , למרות שמוגדר 4000, יכול להיות מקסימום אפשרי שמעליו מתעלמים מהפרמטר בקובץ קונפיגורציה.&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot; style=&quot;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot; style=&quot;&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;הגדרת&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt; &lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;outputCacheProfiles&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;מאפשר להגדיר פרמטרים גלובליים לכל האפליקציה של &lt;/span&gt;&lt;span dir=&quot;LTR&quot; style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;outputcache&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;%@ outputcache duration=&quot;12000&quot; VaryByParam=&quot;*&quot; %&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;RTL&quot; style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;מגדירים בקונפיגורציה&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;caching&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;      &lt;/span&gt;&lt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;outputCacheSettings&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;&lt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;outputCacheProfiles&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;          &lt;/span&gt;&lt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;add&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt; &lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:red;&quot;   &gt;name&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;=&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;DurationProfileGeneral&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;duration&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;1200&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color:red;&quot;&gt;varyByParam&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt;*&lt;/span&gt;&quot;&lt;span style=&quot;color:blue;&quot;&gt; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;&lt;!--&lt;/span--&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;outputCacheProfiles&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;      &lt;/span&gt;&lt;!--&lt;/span--&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;outputCacheSettings&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;!--&lt;/span--&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;caching&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;RTL&quot; lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;משתמשים בדף – &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span style=&quot;background: yellow none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;%&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;@&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt; &lt;span style=&quot;color: rgb(163, 21, 21);&quot;&gt;outputcache&lt;/span&gt; &lt;span style=&quot;color:red;&quot;&gt;CacheProfile&lt;/span&gt;&lt;span style=&quot;color:blue;&quot;&gt;=&quot;DurationProfileGeneral&quot;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;background: yellow none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;&quot;&gt;%&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;   lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;בעיה שנוצרה&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;בכל דף &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;WEB&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; י של המערכת יש פניה לבדיקת &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;PAGE_ONLOAD&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;אשר בודקת הימצאותם של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;כניסות של פרמטרים&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span dir=&quot;RTL&quot; lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;Private&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt; &lt;span style=&quot;color:blue;&quot;&gt;Sub&lt;/span&gt; Page_Load(&lt;span style=&quot;color:blue;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color:blue;&quot;&gt;As&lt;/span&gt; System.Object, &lt;span style=&quot;color:blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color:blue;&quot;&gt;As&lt;/span&gt; System.EventArgs) &lt;span style=&quot;color:blue;&quot;&gt;Handles&lt;/span&gt; &lt;span style=&quot;color:blue;&quot;&gt;MyBase&lt;/span&gt;.Load&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;If&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt; fCheckSessionTimeOut() &lt;span style=&quot;color:blue;&quot;&gt;Then&lt;/span&gt; &lt;span style=&quot;color:blue;&quot;&gt;Exit&lt;/span&gt; &lt;span style=&quot;color:blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;span style=&quot;&quot;&gt;        &lt;/span&gt;…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;End&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;&quot;  &gt; &lt;span style=&quot;color:blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;במקרה של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;DURATION=1200&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; האפליקציה נכנסת לדף בפעם הראשונה ובודקת את המצאות ה &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; , מוצאת אותו תקין ומכניסה את הדף ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;CACHING&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ל 20 דקות , לפי החשבון של 1200שניות \ 60 שניות = 20 דקות .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;ניתן לראות את ה &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;EXPIRATION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; של הדף ע&quot;י כניסה ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;TOOLS &lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt; &lt;/span&gt;ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;INTERNET OPTIONS&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; בטאב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;GENERAL&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;BROWSING HISTORY&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; נכנסים ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SETTINGS&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ל &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;VIEW FILES&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ושם נמצאים הקבצים השמורים .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot; style=&quot;&quot;&gt;&lt;span dir=&quot;LTR&quot; style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot; style=&quot;&#39;width:414.75pt;height:311.25pt&#39;&quot;&gt;  &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\tzvik\LOCALS~1\Temp\msohtml1\01\clip_image007.png&quot; title=&quot;&quot;&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;    lang=&quot;HE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;LTR&quot; style=&quot;text-align: left; direction: ltr; unicode-bidi: embed;&quot;&gt;&lt;span style=&quot;;font-family:&amp;quot;;font-size:10pt;color:blue;&quot;   &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;הסבר : במשך 20 דקות הבאות , לפי הגדרת &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;DURATION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;במקרה של הפעלת הדף ע&quot;י &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;REFRESH&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; לא יתבצע חידוש הדף אלא הוא יובא מה &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;TEMPORARY FILES&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; של &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;INTERNET&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; &lt;span lang=&quot;HE&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;במשך 20 דקות הוא לא יבצע &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;PAGE_ONLOAD&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; ולא יבדוק נוכחות של פרמטרים&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span style=&quot;&quot;&gt;  &lt;/span&gt;ב &lt;/span&gt;&lt;span dir=&quot;LTR&quot;&gt;SESSION&lt;/span&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;span dir=&quot;RTL&quot;&gt;&lt;/span&gt; .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;לאחר 20 דקות תתבצע העלאה מחודשת של הדף ויבדקו הנתונים .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot; dir=&quot;RTL&quot;&gt;&lt;span lang=&quot;HE&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/9157798874883973557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/11/session-timeout-troubleshout.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/9157798874883973557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/9157798874883973557'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/11/session-timeout-troubleshout.html' title='Session Timeout troubleshout -- בעיית תקשורת'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-777789972572610206</id><published>2009-10-30T11:47:00.000-07:00</published><updated>2009-11-20T02:19:12.222-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fluent Nhibernate  adjusting to existing db  mapping right"/><title type='text'>Fluent Nhibernate</title><content type='html'>I was following some bloges about creating the mapping through the fluent nhibernate.&lt;br /&gt;I&#39;ve managed the connection to oracle , and have began building the entities , and than it hit me. I couldn&#39;t go on , because the entity was defined as Guid  and my PK in the mapping was int64 - long type , we are working with existing db , and increamenting through sequences .&lt;br /&gt;It took me a while , but the solution was very simple , I&#39;ve just adjusted the entity father, so that it would be with a long type ID property. The mapping in the mapping classes connecing he ID with column that i choose , defining he sequence which should increament the recid number .&lt;br /&gt;The only down side , that you&quot;ll have to rewrite the Entity.Equals and the Entity.GetHashCode .</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/777789972572610206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/fluent-nhibernate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/777789972572610206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/777789972572610206'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/fluent-nhibernate.html' title='Fluent Nhibernate'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-5354915367408479379</id><published>2009-10-30T11:43:00.000-07:00</published><updated>2009-10-30T11:46:10.008-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MySql Collation Joomla Hebrew phpMyAdmin utf8"/><title type='text'>Joomla problem - in MySql - wrong collation - latin1_swedish_ci to utf8_general_ci for all the tables in one of the db instances</title><content type='html'>The problem is that the hoster creates the db in the wrong collation , therefore no hebrew is possible for me in my sites , which is not to good , considering my business is primarily in Israel . &lt;br /&gt;    I&#39;ve been trying to solve it with a one single query, but with no luck. &lt;br /&gt;There are a few solutions through php scripts, witch you are placing on the host and activating from there. &lt;br /&gt;    I worked at MySql side only.&lt;br /&gt;    So , a few steps for workaround ..&lt;br /&gt;1). Get the list of the tables from your information_schema , that is being provided by the hoster. The query would look like - &lt;br /&gt;&lt;br /&gt;SELECT table_name &lt;br /&gt;FROM information_schema.tables&lt;br /&gt;WHERE TABLE_TYPE = &#39;BASE TABLE&#39;&lt;br /&gt;AND TABLE_SCHEMA = &#39;Your_DB_Name_Goes_Here&#39;&lt;br /&gt;and TABLE_COLLATION &lt;&gt; &#39;utf8_general_ci&#39;&lt;br /&gt;&lt;br /&gt;Run it through the sql window of PhpMyAdmin.&lt;br /&gt;&lt;br /&gt;You&#39;ll get the list of a specific database tables , which are not defined with &#39;utf8_general_ci&#39; Collation. &lt;br /&gt;&lt;br /&gt;2).At the bottom of the list activate the export . Export to CSV.&lt;br /&gt;&lt;br /&gt;3).Very basic - enter xsl , &lt;br /&gt;write down (leaving blanks as blank columns)&lt;br /&gt;first column    second column blank column for table name      forth column&lt;br /&gt;ALTER TABLE here4u_jo151.___________               DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;&lt;br /&gt;4).Pull it down for as much rows as the number of the tables you got, for your db_name before. &lt;br /&gt;&lt;br /&gt;5).Just pour out to the blank column all the table_names.&lt;br /&gt;&lt;br /&gt;6).Take all the queries to Sql of the PhpMyAdmin and run it. &lt;br /&gt;(Be careful, put &#39;,&#39; at the end of each line ; pay attention that there are no blanks between the db name and the table name in the queries from excel.)</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/5354915367408479379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/joomla-problem-in-mysql-wrong-collation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/5354915367408479379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/5354915367408479379'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/joomla-problem-in-mysql-wrong-collation.html' title='Joomla problem - in MySql - wrong collation - latin1_swedish_ci to utf8_general_ci for all the tables in one of the db instances'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-2110259709989221571</id><published>2009-10-16T01:35:00.000-07:00</published><updated>2009-11-20T02:20:28.813-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQLite"/><category scheme="http://www.blogger.com/atom/ns#" term="Unit Testing"/><title type='text'>NHibernate unit testing with SQLite in-memory DB</title><content type='html'>&lt;!-- post --&gt;&lt;br /&gt;  &lt;div id=&quot;post-219&quot; class=&quot;post-219 post hentry category-fluent-nhibernate category-nhibernate tag-sqlite tag-unit-testing&quot;&gt;post source -&lt;br /&gt;        &lt;div class=&quot;post-content clearfix&quot;&gt;&lt;a href=&quot;http://jasondentler.com/blog/2009/08/nhibernate-unit-testing-with-sqlite-in-memory-db/&quot;&gt;&lt;span class=&quot;transl_class&quot; title=&quot;Click to correct&quot; id=&quot;0&quot;  style=&quot;font-family:courier new;&quot;&gt;http://jasondentler.com/blog/2009/08/nhibernate-unit-testing-with-sqlite-in-memory-db/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;        &lt;p&gt;While doing research for my next post, I ran across a recurring problem. Everyone wanted to use an in-memory SQLite database for their &lt;a href=&quot;http://nhforge.org/&quot; onclick=&quot;javascript:pageTracker._trackPageview(&#39;/outbound/article/http://nhforge.org&#39;);&quot; target=&quot;_blank&quot;&gt;NHibernate&lt;/a&gt; unit tests.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Evidently, there’s no way to get back to the in-memory database in it’s current state after all of the connections to that database have been closed. When you open another connection, you get a fresh blank database.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here’s the solutions I found while searching around.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://ayende.com/Blog/archive/2009/04/28/nhibernate-unit-testing.aspx&quot; onclick=&quot;javascript:pageTracker._trackPageview(&#39;/outbound/article/http://ayende.com/Blog/archive/2009/04/28/nhibernate-unit-testing.aspx&#39;);&quot; target=&quot;_blank&quot;&gt;Ayende just uses a single NHibernate session&lt;/a&gt;, which usually only uses a single SQLite DB connection. In fact, he just uses one session per test fixture. I’m not that smart and I don’t know enough about the internals of NHibernate to be confident that I’m really testing what I think I’m testing. Using a fresh session and database for each test would make me a lot more confident. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Krzysztof Kozmic has resorted to &lt;a href=&quot;http://devlicio.us/blogs/krzysztof_kozmic/archive/2009/08/14/testing-with-nhibernate-and-sqlite.aspx&quot; onclick=&quot;javascript:pageTracker._trackPageview(&#39;/outbound/article/http://devlicio.us/blogs/krzysztof_kozmic/archive/2009/08/14/testing-with-nhibernate-and-sqlite.aspx&#39;);&quot; target=&quot;_blank&quot;&gt;using a SQLite database stored on disk&lt;/a&gt;. While it may be faster than blowing away and recreating a SQL Express database dozens of times, it’s still slower than using an in-memory database. Variations of this idea include storing the database on a MS-DOS 5.0-style RAM disk drive to recover some of the speed lost by using file I/O. Genius! Except, I’m not going to reconfigure my PC for a unit test. Sorry, it’s just not portable enough. That’s why the idea was rated down on Stack Overflow. &lt;/li&gt;&lt;br /&gt;&lt;li&gt;Someone (gotta love the anonymous bloggers!) suggested &lt;a href=&quot;http://notepad2.wordpress.com/2008/05/19/unit-testing-castle-active-record-using-sqlite-in-memory-database/&quot; onclick=&quot;javascript:pageTracker._trackPageview(&#39;/outbound/article/http://notepad2.wordpress.com/2008/05/19/unit-testing-castle-active-record-using-sqlite-in-memory-database/&#39;);&quot; target=&quot;_blank&quot;&gt;building a custom NHibernate DriverConnectionProvider&lt;/a&gt; and overriding the GetConnection and CloseConnection functions so that once opened, the connection would never be closed. This seems a bit extreme to me, and doesn’t provide a mechanism to get a fresh database when we need one. &lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Using the DriverConnectionProvider idea of maintaining a single connection, but with a controlled scope, I came up with this:&lt;/p&gt;&lt;br /&gt;&lt;pre class=&quot;brush:vbnet&quot;&gt;Imports FluentNHibernate.Cfg&lt;br /&gt;Imports FluentNHibernate.Cfg.Db&lt;br /&gt;Imports FluentNHibernate.Mapping&lt;br /&gt;Imports NHibernate&lt;br /&gt;Imports NHibernate.Tool.hbm2ddl&lt;br /&gt;Imports System.Data.SQLite&lt;br /&gt;&lt;br /&gt;Public Class SQLiteDatabaseScope(Of TClassFromMappingAssembly)&lt;br /&gt;Implements IDisposable&lt;br /&gt;&lt;br /&gt;Private Const CONNECTION_STRING As String = &quot;Data Source=:memory:;Version=3;New=True;&quot;&lt;br /&gt;&lt;br /&gt;Public Sub New()&lt;br /&gt;  BuildConfiguration()&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private m_Connection As SQLiteConnection&lt;br /&gt;Private m_SessionFactory As ISessionFactory&lt;br /&gt;&lt;br /&gt;Private Sub BuildConfiguration()&lt;br /&gt;  m_SessionFactory = Fluently.Configure() _&lt;br /&gt;                      .Database(GetDBConfig()) _&lt;br /&gt;                      .Mappings(AddressOf GetMappings) _&lt;br /&gt;                      .ExposeConfiguration(AddressOf BuildSchema) _&lt;br /&gt;                      .BuildSessionFactory()&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Function GetDBConfig() As FluentNHibernate.Cfg.Db.IPersistenceConfigurer&lt;br /&gt;  Return SQLiteConfiguration.Standard _&lt;br /&gt;              .ConnectionString(Function(cs As ConnectionStringBuilder) cs.Is(CONNECTION_STRING))&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Private Sub GetMappings(ByVal x As MappingConfiguration)&lt;br /&gt;  x.FluentMappings _&lt;br /&gt;      .AddFromAssemblyOf(Of TClassFromMappingAssembly)() _&lt;br /&gt;      .ExportTo(&quot;.&quot;)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub BuildSchema(ByVal Cfg As NHibernate.Cfg.Configuration)&lt;br /&gt;  Dim SE As New SchemaExport(Cfg)&lt;br /&gt;  SE.Execute(False, True, False, GetConnection, Console.Out)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Function GetConnection() As System.Data.SQLite.SQLiteConnection&lt;br /&gt;  If m_Connection Is Nothing Then&lt;br /&gt;      m_Connection = New SQLiteConnection(CONNECTION_STRING)&lt;br /&gt;      m_Connection.Open()&lt;br /&gt;  End If&lt;br /&gt;  Return m_Connection&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function OpenSession() As ISession&lt;br /&gt;  Return m_SessionFactory.OpenSession(GetConnection)&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Private disposedValue As Boolean = False        &#39; To detect redundant calls&lt;br /&gt;&lt;br /&gt;&#39; IDisposable&lt;br /&gt;Protected Overridable Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;  If Not Me.disposedValue Then&lt;br /&gt;      If disposing Then&lt;br /&gt;          &#39; TODO: free other state (managed objects).&lt;br /&gt;          If m_Connection IsNot Nothing Then m_Connection.Close()&lt;br /&gt;          m_Connection = Nothing&lt;br /&gt;      End If&lt;br /&gt;&lt;br /&gt;      &#39; TODO: free your own state (unmanaged objects).&lt;br /&gt;      &#39; TODO: set large fields to null.&lt;br /&gt;  End If&lt;br /&gt;  Me.disposedValue = True&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;#Region &quot; IDisposable Support &quot;&lt;br /&gt;&#39; This code added by Visual Basic to correctly implement the disposable pattern.&lt;br /&gt;Public Sub Dispose() Implements IDisposable.Dispose&lt;br /&gt;  &#39; Do not change this code.  Put cleanup code in Dispose(ByVal disposing As Boolean) above.&lt;br /&gt;  Dispose(True)&lt;br /&gt;  GC.SuppressFinalize(Me)&lt;br /&gt;End Sub&lt;br /&gt;#End Region&lt;br /&gt;&lt;br /&gt;End Class&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;It’s the same idea as the DriverConnectionProvider, but with a different scope. We create and open a connection and maintain it for the lifespan of the SQLiteDatabaseScope object. So far, I haven’t found an instance where NHibernate closes the connection.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Each instance of SQLiteDatabaseScope uses a different in-memory database, thanks to the New=True property in the connection string. You should be able to run your tests in parallel. You can’t do that with any of the other solutions.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The generic type parameter should be set to one of your fluent mapping classes. It’s used to tell Fluent NHibernate which assembly to scan for fluent mappings.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;It’s extremely easy to use.&lt;/p&gt;&lt;br /&gt;&lt;pre class=&quot;brush:vbnet&quot;&gt;Imports NUnit.Framework&lt;br /&gt;&lt;br /&gt;&amp;lt;TestFixture&amp;gt; _&lt;br /&gt;Public Class SomeNHibernateTestFixture&lt;br /&gt;&lt;br /&gt;&amp;lt;Test&amp;gt;&lt;br /&gt;Public Sub SomeNHibernateTest()&lt;br /&gt;  Using Scope As New SQLiteDatabaseScope(Of CourseMapping)&lt;br /&gt;      Using SessionOne = Scope.OpenSession&lt;br /&gt;          &#39; Do some stuff here...&lt;br /&gt;      End Using&lt;br /&gt;&lt;br /&gt;      Using SessionTwo = Scope.OpenSession&lt;br /&gt;          &#39; Do some more stuff using the same in-memory SQLite DB&lt;br /&gt;      End Using&lt;br /&gt;  End Using&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&amp;lt;Test&amp;gt;&lt;br /&gt;&lt;br /&gt;Public Sub AnotherNHibernateTest()&lt;br /&gt;  Using Scope As New SQLiteDatabaseScope(Of CourseMapping)&lt;br /&gt;      Using SessionThree = Scope.OpenSession&lt;br /&gt;          &#39; Do some stuff here to a new, freshly-built database...&lt;br /&gt;     End Using&lt;br /&gt;  End Using&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;End Class&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Jason&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- Concerned the problem is not really that simple.&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Download the SQLiteDatabaseScope code in &lt;a href=&quot;http://jasondentler.com/downloads/SQLiteDatabaseScope.vb.txt&quot; target=&quot;_blank&quot;&gt;Visual Basic&lt;/a&gt; or &lt;a href=&quot;http://jasondentler.com/downloads/SQLiteDatabaseScope.cs.txt&quot; target=&quot;_blank&quot;&gt;C#&lt;/a&gt;. GoDaddy doesn’t like you to download .vb or .cs files, so don’t forget to take off the .txt extension before you add it to your project. &lt;/p&gt;&lt;br /&gt;        &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;                                    &lt;p class=&quot;tags&quot;&gt; Tags: &lt;a href=&quot;http://jasondentler.com/blog/tag/sqlite/&quot; rel=&quot;tag&quot;&gt;SQLite&lt;/a&gt;, &lt;a href=&quot;http://jasondentler.com/blog/tag/unit-testing/&quot; rel=&quot;tag&quot;&gt;Unit Testing&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;        &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;&lt;br /&gt;                      &lt;p class=&quot;post-metadata&quot;&gt;&lt;br /&gt;              This entry was posted on Friday, August 14th, 2009 and is filed under &lt;a href=&quot;http://jasondentler.com/blog/category/fluent-nhibernate/&quot; title=&quot;View all posts in Fluent NHibernate&quot; rel=&quot;category tag&quot;&gt;Fluent NHibernate&lt;/a&gt;,  &lt;a href=&quot;http://jasondentler.com/blog/category/nhibernate/&quot; title=&quot;View all posts in NHibernate&quot; rel=&quot;category tag&quot;&gt;NHibernate&lt;/a&gt;. You can follow any responses to this entry through &lt;a href=&quot;http://jasondentler.com/blog/2009/08/nhibernate-unit-testing-with-sqlite-in-memory-db/feed/&quot; title=&quot;RSS 2.0&quot;&gt;RSS 2.0&lt;/a&gt;.&lt;br /&gt;              Both comments and pings are currently closed.                            &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/div&gt;&lt;br /&gt;  &lt;!-- /post --&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/2110259709989221571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/nhibernate-unit-testing-with-sqlite-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2110259709989221571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/2110259709989221571'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/nhibernate-unit-testing-with-sqlite-in.html' title='NHibernate unit testing with SQLite in-memory DB'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-657300721444527675</id><published>2009-10-15T05:52:00.000-07:00</published><updated>2009-11-02T01:14:13.538-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Delete duplicate rows  oracle"/><title type='text'>Delete duplicate rows or one of the double records</title><content type='html'>&lt;h2&gt;&lt;a title=&quot;Delete duplicate rows or one of the double records&quot; href=&quot;http://pandazen.wordpress.com/2008/07/15/delete-one-of-the-double-records/&quot; rel=&quot;bookmark&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/h2&gt; &lt;div class=&quot;postinfo&quot;&gt;Posted on &lt;span class=&quot;postdate&quot;&gt;July 15, 2008&lt;/span&gt; by  pandazen&lt;br /&gt;&lt;a href=&quot;http://pandazen.wordpress.com/2008/07/15/delete-one-of-the-double-records/&quot;&gt;http://pandazen।wordpress.com/2008/07/15/delete-one-of-the-double-records/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt; &lt;div class=&quot;entry&quot;&gt; &lt;script src=&quot;http://s.wordpress.com/wp-content/plugins/adverts/adsense.js?1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;div class=&quot;pd-rating&quot; id=&quot;pd_rating_holder_285008_post_78&quot; style=&quot;display: inline-block;&quot;&gt;&lt;img style=&quot;display: none;&quot; alt=&quot;Quantcast&quot; src=&quot;http://pixel.quantserve.com/pixel/p-ab3gTb8xb3dLg.gif&quot; border=&quot;0&quot; height=&quot;1&quot; width=&quot;1&quot; /&gt;&lt;/div&gt;  &lt;p&gt; &lt;script language=&quot;javascript&quot;&gt;  PDRTJS_settings_285008_post_78 = {   &quot;id&quot; : &quot;285008&quot;,   &quot;unique_id&quot; : &quot;wp-post-78&quot;,   &quot;title&quot; : &quot;Delete+duplicate+rows+or+one+of+the+double+records&quot;,   &quot;item_id&quot; : &quot;_post_78&quot;,   &quot;permalink&quot; : &quot;http%3A%2F%2Fpandazen.wordpress.com%2F2008%2F07%2F15%2Fdelete-one-of-the-double-records%2F&quot;  } &lt;/script&gt; Many a time we face cases where we have to delete one of double record.&lt;/p&gt; &lt;p&gt;So what can we do? Here an example of it,&lt;/p&gt; &lt;p&gt;SQL&gt; select * from customer;&lt;/p&gt; &lt;p&gt;LAST_NAME FIRST_NAME NATION&lt;br /&gt;—————————————–&lt;br /&gt;XHI WILLIAM  INDONESIA&lt;br /&gt;BRUNI CARLA FRANCE&lt;br /&gt;THERON KEIRA ENGLAND&lt;br /&gt;PITT DAVID  USA&lt;br /&gt;PITT DAVID USA&lt;/p&gt; &lt;p&gt;To get the double record,&lt;/p&gt; &lt;p&gt;SELECT last_name, first_name&lt;br /&gt;FROM customer&lt;br /&gt;GROUP BY last_name,  first_name&lt;br /&gt;HAVING count(’x&#39;) &gt; 1;&lt;/p&gt; &lt;p&gt;LAST_NAME FIRST_NAME&lt;br /&gt;————————–&lt;br /&gt;PITT DAVID&lt;/p&gt; &lt;p&gt;To delete one of the double record, (please add some filter to specify which  record can be deleted)&lt;br /&gt;1. standard&lt;br /&gt;DELETE FROM CUSTOMER A&lt;br /&gt;WHERE ROWID  (&lt;br /&gt;SELECT MAX(ROWID)&lt;br /&gt;FROM customer B&lt;br /&gt;WHERE A.last_name =  B.last_name&lt;br /&gt;AND A.first_name = B.first_name&lt;br /&gt;AND A.nation =  B.nation&lt;br /&gt;);&lt;/p&gt; &lt;p&gt;2. using IN&lt;br /&gt;DELETE FROM CUSTOMER A&lt;br /&gt;WHERE (A.last_name, A.first_name,  A.nation) IN (&lt;br /&gt;SELECT B.last_name, B.first_name, B.nation&lt;br /&gt;FROM customer  B&lt;br /&gt;WHERE A.last_name = B.last_name&lt;br /&gt;AND A.first_name = B.first_name&lt;br /&gt;AND  A.nation = B.nation&lt;br /&gt;AND A.rowid &gt; B.rowid);&lt;/p&gt; &lt;p&gt;3. For the better query use “EXISTS” instead of “IN”,&lt;/p&gt; &lt;p&gt;DELETE FROM CUSTOMER A&lt;br /&gt;WHERE EXISTS (&lt;br /&gt;SELECT ‘x’&lt;br /&gt;FROM customer  B&lt;br /&gt;WHERE A.last_name = B.last_name&lt;br /&gt;AND A.first_name = B.first_name&lt;br /&gt;AND  A.nation = B.nation&lt;br /&gt;AND A.rowid &gt; B.rowid);&lt;/p&gt;&lt;!--adcode--&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/657300721444527675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/delete-duplicate-rows-or-one-of-double.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/657300721444527675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/657300721444527675'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/10/delete-duplicate-rows-or-one-of-double.html' title='Delete duplicate rows or one of the double records'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-4596515931324009923</id><published>2009-08-19T00:21:00.000-07:00</published><updated>2009-08-19T00:25:26.774-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MDF file Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed"/><title type='text'>Failure in starting the process for the user instance</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot;&gt;Problem -&lt;br /&gt;Trying to open MDF file getting -&lt;br /&gt;   &quot;Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. &quot;&lt;br /&gt;&lt;br /&gt;Answer -&lt;br /&gt;&lt;br /&gt;In Server Explorer  . Right click the MDF file .&lt;br /&gt;Click modify connection.&lt;br /&gt;On the Advanced Tab of the modify connection, scroll down and look for &#39;User Instance&#39; property. Set to &#39;False&#39;.&lt;br /&gt;&lt;br /&gt;Same thing if you are creating a new instance of MDF .&lt;br /&gt;After creation make the modification described above.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/4596515931324009923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/08/failure-in-starting-process-for-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/4596515931324009923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/4596515931324009923'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/08/failure-in-starting-process-for-user.html' title='Failure in starting the process for the user instance'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1181911756227661296.post-8580613234476036550</id><published>2009-08-18T01:46:00.000-07:00</published><updated>2009-08-18T01:48:22.771-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Uninstalling Oracle 10g Manually from Windows XP"/><title type='text'>Uninstalling Oracle 10g Manually from Windows XP</title><content type='html'>&lt;div dir=&quot;rtl&quot; style=&quot;text-align: left;&quot;&gt;Oracle&#39;s installation utility has a nasty habit of leaving a lot of items behind.  I wrote this up to document what I&#39;ve found you need to do to uninstall Oracle 10g manually.  This is specific to 10g and Windows XP.  Removing 9i is very similar if I remember right, but who&#39;s using 9i anymore? ;-)&lt;br /&gt;&lt;br /&gt;The first thing you should do, is go ahead and run the installation tool to do an uninstall.  It probably will leave some things behind, but it&#39;s worth running.  Then go through this list and remove anything it missed.  This list is detailed enough though, that I believe even if you did not run the uninstallation tool, this would fully uninstall Oracle.&lt;br /&gt;&lt;br /&gt;The most commonly missed item is to make sure you remove everything from the GAC because the uninstaller doesn&#39;t appear to.  I get to that later, but if you wanted to know the largest source of uninstallation problems, it&#39;s libraries remaining in the GAC.&lt;br /&gt;&lt;br /&gt;After running the supplied Oracle uninstallation utility (which may or may not do some or all of the following):&lt;br /&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; class=&quot;post-body entry-content&quot;&gt;&lt;li&gt;Stop any Oracle services that have been left running.&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Start-&gt;Settings-&gt;Control Panel-&gt;Services&lt;br /&gt;Look for any services with names starting with &#39;Oracle&#39; and stop them.&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Run regedit and delete the following keys (some may have slightly different names in your registry):&lt;br /&gt;HKEY_CURRENT_USER\SOFTWARE\ORACLE&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsole&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle10g_home&lt;br /&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OraclService&lt;br /&gt;&lt;br /&gt;Note that the services control panel will still show the old services until you reboot.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Delete the Oracle home directory&lt;br /&gt;C:\Oracle&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Delete the Oracle Program Files directory:&lt;br /&gt;C:\Program Files\Oracle&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Delete the Oracle Start Menu shortcuts directory:&lt;br /&gt;C:\Documents and Settings\All Users\Start Menu\Programs\Oracle*&lt;br /&gt;Where * indicates the name of your install.  Look for and remove all Oracle directories from that location.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Remove Oracle refereces from the path.  To edit your path go to:&lt;br /&gt;&lt;i&gt;Start-&gt;Settings-&gt;Control Panel-&gt;System-&gt;Advanced-&gt;Environment Variables&lt;/i&gt;&lt;br /&gt;Edit both of the environment variables user PATH and system PATH.  Remove any Oracle references in them.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Remove Oracle.DataAccess and any Polic.Oracle files from the GAC which is at:&lt;br /&gt;C:\Windows\assembly\&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;There, now your system is Oracle free.  If you are installing a new instance of Oracle (and not just an additional DB) I recommend you do this before any new Oracle installation.&lt;br /&gt;&lt;i dir=&quot;ltr&quot;&gt;Note: I used several other websites and searches as references when developing these steps, but I was unable to find any steps that covered all of the items for Oracle 10g so I assembled them here.&lt;br /&gt;&lt;br /&gt;brought from&lt;br /&gt;http://aricsblog.blogspot.com/2005/08/uninstalling-oracle-10g-manually-from.html&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://2bhere4u.blogspot.com/feeds/8580613234476036550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://2bhere4u.blogspot.com/2009/08/uninstalling-oracle-10g-manually-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/8580613234476036550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1181911756227661296/posts/default/8580613234476036550'/><link rel='alternate' type='text/html' href='http://2bhere4u.blogspot.com/2009/08/uninstalling-oracle-10g-manually-from.html' title='Uninstalling Oracle 10g Manually from Windows XP'/><author><name>EuroSublet Enterprize</name><uri>http://www.blogger.com/profile/07472760546346739178</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>