VB6 migration sky
 
  Forum  Core :: SDK (Vi...  Developing the ...  File Operations and SessionState in Visual Web GUI
Previous Previous
 
Next Next
New Post 1/10/2009 11:16 PM
  darshanmarathe
23 posts
No Ranking


File Operations and SessionState in Visual Web GUI 

Dear All,

I have a temp directory in my Visual Web GUI Application now I have radar soft cube also in my application which sits on the separate asp.net page which is called from Visual Web GUI Application.

Now At some point I do have to clear that temp directory but the strange thing is when I do that my Visual web GUI application restart.

I guess it is something to do with SessionState so can you suggest something say if tomorrow I want to right a file browsing application where I can delete the files also how to handle that in visual web GUI

Regards,

Darshan Marathe

 
New Post 1/11/2009 4:15 AM
  ori.cohen
3523 posts
1st Level Poster




Re: File Operations and SessionState in Visual Web GUI 
Modified By ori.cohen  on 1/11/2009 8:16:59 AM)

Hello Darshan Marathe!

I understand that you have a seperate ASP.NET application that you contain visually in your VWG application using the AspPageBox.
This ASP.NET application has it's own virtual directory that may reside on a different server on a different domain.

You wish to be able to clear this directory through the VWG application. Is that right?

What action do you use to clear this directory?

If I understood you correctly, the way to do that would be to produce a client to client VWG to ASP.NET function call that would start an ASP.NET request to it's server-side to clear that directory by itself.
Please reply to this post if that is the case, as I would need to explain to you how to do that.

Regards,

Ori Cohen
Manager of support, the Visual WebGui team

 
New Post 1/12/2009 12:38 AM
  darshanmarathe
23 posts
No Ranking


Re: File Operations and SessionState in Visual Web GUI 

Dear Ori,

Thanks for the prompt response !!

Well have added a aspx page to the project and open that link with the Link object now on the same page I have radarsoft radarcube control which creates a temp directory inside the virtual directory now the problem is when the control tries to clear the temp directory application throws me back to the login window

Have implemented the login functionality just same as shown in the training videos.

Any work around on this …..

Also one quick query how always you only answer my query I don’t mind only you answering my queries as you are doing it really well and fast J

Regards

Darshan Marathe

 
New Post 1/12/2009 12:25 PM
  palli
6080 posts
1st Level Poster




Re: File Operations and SessionState in Visual Web GUI 

Hi Darshan Marathe,

I think Ori just tries to reply everything he can, when he can, and does a great job doing it !  You are welcome Ori

According to books, blogs and docs about ASP.NET 2.0, it uses FCN (File Change Nofication) to detect when "Too many files are changed in one of it's content directories" and when it reaches that threshold, it restarts the AppDomain. The closes I came up with in this scenario, was that the magic number is 15 meaning after 15 changes it restarts the domain !

There are (non-pretty) workarounds for this, and you can take a look at THIS blog entry, which then also references THIS blog entry from MSDN, that presents a workaround.

It may be that this does not apply to your case, but sounds really similar though !

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 1/13/2009 11:50 PM
  ori.cohen
3523 posts
1st Level Poster




Re: File Operations and SessionState in Visual Web GUI 
Modified By ori.cohen  on 1/14/2009 3:54:08 AM)

Hello Darshan Marathe,

If what Palli suggested is not relevant to what you are experiencing, I would need you to please send us your application to support [at] visualwebgui [dot] com with a link to this forum thread.
Please also clean the solution before compressing it and reply to this post after sending, so I would know to check for your support request.
Please remember to also include the ASP.NET application with the radarsoft DLLs so we at Gizmox would be able to run this application successfully.

Regards,

Ori Cohen
Manager of support, the Visual WebGui team

 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Developing the ...  File Operations and SessionState in Visual Web GUI
Most promising startups
Top 3 most promising startups in 2009
   AJAX Framework | Web Development | Cloud applications | RIA Development | Silverlight Applications | Legacy Migration
The most popular open source Ajax applications framework for enterprises | Sitemap | Terms Of Use | Privacy Statement
Copyright © 2005-2009 Visual WebGui®    Design By: Template World
   
Visual Studio Partners