I think they are have application pools.
If my illustratation is wrong, please correct my opinion.
A and B is different web application and they use different AppDomain.
Then, there is different virtual domain for them, eg., A is "http://10.2.2.55/A/index.aspx" and B is "http://10.2.2.55/B/Clear.aspx".
While web site A performs first in the browser, the state of session...
User Profile
Collapse
-
Session will be interfered by another application's thread
Hi, I have a problem about session and application.
The situation describes as follows.
I have two web site A and B. They have different AppDomain.
First of all, I use session to record some info. in A.
While I invoke the application method "Applicaion.Rem oveAll()" inside a thread, the session of web site A will be expired.
So web site A could not access to any value... -
Using ihttphandler problem
Hi, I have a problem when I implement ihttphander interface.
In my code, I implement ihttphandler to invoke or stop a stand-alone app to deal with something.
Besides, i use the Application object to record the app's process id to start or stop this app.. e.g., http://10.2.2.211/AP/start.axd. and http://10.2.2.211/AP/stop.axd. The request to be executed in first time. It seems to OK.
But second time, the same url request... -
Thanks for your kindly answer.
I am already solve my problem and your suggestion is very assistance for me.
Best regards,
Jim...Leave a comment:
-
The DropDownList Control can not refresh problem!!
Hi all,
If this quest is not belong to this forum, I am sorry.
But I think this question seem to be this forum.
My problem is while I select a dropdownlist's item and click a button but the result do not show my select dropdownlist item.
My code as follows using C#.
...Code:protected void Page_Load(object sender, EventArgs e) { DropDownList1.AutoPostBack = true; -
CallBack problem
Hi,
I would like to do callback approach.
But I face some problem while calling different Javascript function.
I have no idea to make two different Javascript function to work.
For example, a function as follow
...Code:string strScript = "function ReceiveServerData(arg, context){ document.getElementById('" + result.ClientID + "').value = arg + ' ' + context + document.getElementById('"+ -
Thanks for your kindly answer.
Now, I know how to show my wanted page....Leave a comment:
-
Controls of Panel Layout problem
Do anyone know how to layout in Panel control.
The code as follows
...Code:labels[0].Text = "Album Name :"; labels[1].Text = "Title :"; labels[2].Text = "Tag :"; labels[3].Text = "Description :"; textboxs[0].Text = ""; textboxs[1].Text = _fileName; textboxs[2].Text = ""; textboxs[3].Text = "";
-
JimWu started a topic How to keep web controls' state from previous page and during postback in asp.netin .NETHow to keep web controls' state from previous page and during postback in asp.net
I have some problems in my code.
The stutiation illustrate as the followsing statement.
I use two pages, one, named "upload.asp x", is including several general html input tag, whose type are "file". That mean I create server file upload controls in this page.
After user choose their files, wanted to upload, and click upload button, this page will be postbacked to another page, called "edit.aspx" .... -
Thank you very much.
I have already find out the answer during the few past days.
TextBox control can not be added in Page.
Since TextBox control does not belong to Page collections, but Form collections.
Thank you for your kindly assistence.
Jim....Leave a comment:
-
Asp.net web controls problem
I'd like to add designed by myself web control "TextBox" on my page.
But something wrong to appear message " Control 'ctl13' of type 'TextBox must be placed inside a form tag with runat=server. " while performing SaveImage method.
Why the TextBox control can not add to my page, but Label control do.
My code is listed as follows.
using System;
using System.Data;... -
Kindly spacix ,thank you for your kindly answer to me.
I obtain some many basic concepts of NTFS permissions from you.
Now, I am already find the answer to solve my problem.
Thank you very much.
Jim...Leave a comment:
-
Thinks for ur kindly answer.
Now, I have another problem to Add permission on a folder.
Code (cs):
try{
AddDirectorySec urity(@"c:\Uplo ad", "USERS", FileSystemRight s.FullControl, AccessControlTy pe.Allow);
}
catch(Exception e){
}
public static void AddDirectorySec urity(string folderName, string account, FileSystemRight s rights, AccessControlTy pe controlType)...Leave a comment:
-
Add "Everyone" Group permission to access a file
As title, I'd like to add a "Everyone" group to a file and give this account a full control right.
I have try to use FileSecurity class to add a account, ASPNET ,for example.
code as follow:
[code=cpp]
try
{
AddFileSecurity (@"c:\TestACL.t xt", "ASPNET", FileSystemRight s.FullControl, AccessControlTy pe.Allow);
}
catch(Exception e){
...
No activity results to display
Show More
Leave a comment: