Invalid Session - when have 2 sites with Application of the same path

0
0

I have the following setup in IIS

prod.site

Admin Folder  (wisej application with its’ own app pool)   – converted folder to application in IIS

test.site

Admin Folder  (wisej application with its’ own app pool)     – converted folder to application in IIS

 

I created the Admin application on prod.site months ago and it has worked well.

Today I added the test.site Admin folder and made it an application in IIS.  After doing this, I am still able to bring up the prod.site/admin application but as soon as I try to click on something I get an “Invalid Session”

So, what I want to know is if it is not recommend to run with this setup.  How do you recommend setting up a test and production site on the same server or is that not recommend?

Thanks,

Shawn

  • edmond girardi
    We are running our PROD and UAT WiseJ apps on the same server without any issues. What we did was create 2 different sites under IIS and bind 2 different domains names to it. Our UAT site is XYZDomain-UAT.com for example. Even if you don’t register the domain you can modify the HOST file on your local machine to point to your server and it will resolve to the UAT site: See this if you are not familiar with your HOST file. https://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/
  • You must to post comments
0
0

Thank you for the info.  I was using 2 webs with Applications withing those webs.

It turned out that I had a newtonsoft.json.dll that was the wrong version in one of them and that caused my problem.

I am still getting the “Invalid session happening being caught by the  Wisej.onException javascript error handler but the session doesn’t actually seem to be invalid because the app is still working… So I am not sure what is going on.

Consider this closed.

Thanks.

Shawn

 

  • You must to post comments
0
0

You can run as many wisej apps as the server will take. I don’t understand if the setup is done nesting applications. Or is it two different domains using the same server and applications with the same application name? Added a second site to the same IIS?

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.