|
Are all these questions for the same site ? Have you tried to do any of these things, or are you hoping for complete solutions based on your brief descriptions ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hello
thanx for the reply.
yes all these question are related for the same site.
and i have tried for the Google Analystics from this Link.
https://www.google.com/analytics/home/provision?vid=1000.
but My Client have given me a Chart control for doing it mannualy.
can i do it mannualy or i have to use google Analystics for it.
thanx i hope now u will get my question and will help me.
|
|
|
|
|
I have one web user control which consists of one Button web control.
I have 3 aspx pages in which i have to use this web user control. But when iam going to click on the button it should perform different actions in different aspx pages.
|
|
|
|
|
You can handle the click event in the aspx page. What you need to do is to create a event handles and handle in aspx page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I have a link button in left frame,when i clicked on that button,a new page loaded on the second frame,but the linkbutton does not have target attribute,how the probelm will solve?
Thanks&Regards
Dilip
Hai this is fresh programer
|
|
|
|
|
Hi,
I have a project in which the operations are categorized based on the roles. The roles are DataEntryOperator,Moderator,Admin,Client.These roles are stored in database. A login screen is provided. The pages are created in 4 different folders in the project.Now if a peroson tries to access a page outside his/her folder he should be immediately redirected to the login page. How do I do this? I tried but couldn't
With Regards,
Uma
|
|
|
|
|
You can check the role of the user in the page load event of the page and can do the operations as per the requirement.
Best Regards,
Apurva Kaushal
|
|
|
|
|
HI Apurva Kaushal,
I actually wanted to do the same. BUt I was asked to perform forms authentication. So can u help me in this.
Regards,
Uma
|
|
|
|
|
|
Hi
I already have gone through it.Okay I will try ti again. Thank u for the help
Regards,
Uma
|
|
|
|
|
Hi,
u can use session for this
page_load
{
if(Session["user_id"]==null)
{
Response.Redirect("login.aspx");
}
}
(store session value in login.aspx page)
Session.Add("user_id",userid.text);
Regard
|
|
|
|
|
Hi Uma,
You can define different roles and users on the web.config file, then specific roles can be redirected to specific pages, this is called role base authentication. Try this out...
http://aspnet.4guysfromrolla.com/articles/082703-1.aspx
Ram
|
|
|
|
|
Hi,
Iam basically from C# background and very new to ASP.Net. I was trying to understand Cookie management in ASP.Net. I have a doubt in this regard. How will the client(the web browser) maintains so many cookies and how exactly it resolves the appropriate cookie to be sent along with the request message?
Thanks in advance
Vivek
|
|
|
|
|
The cookies are maintained separately for each domain name. The browser will send back all the cookies for the domain name in each request to the server.
As all the cookies are sent every time, you should of course keep them at a minimum. The browser also has a limit on the total size of the cookies per domain name, and different browsers have different limits. A typical value for the limit is 4 kb, but it may be more or less. If you are in danger of reaching the limit, you are of course using way too many cookies.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks for the reply. But this raises another question.If i have 2 instance of the web application running on my system,then will the cookies of one instance be over written by the cookies of another instance? If no, how exactly will the browser resolve the cookie associated with the webpage.
Thanks
|
|
|
|
|
If you have two web applications on your system, they will have different domain names, or you can't reach them individually. If you for an example use the built-in server in Visual Studio, it will use different port numbers for the instances, so localhost:6474 and localhost:3466 will be separate domain names.
---
b { font-weight: normal; }
|
|
|
|
|
I am using .Net 2.0. Is is posibble to customise our own create account control? I wish not to include email, secret question and security answer.
So basically to create account, user just need to enter username and password and the confirm password.
thanks in advance. Much appreciated.
|
|
|
|
|
Is it possible to have 2 sites[virtuals dir] running on IIS 5.0 [Server 2000] incase one site is ASP.NET 1.1 application, and another ASP.NET 2.0 application?
Appreciate your help.
- ashish
|
|
|
|
|
Yes, if the sites are separate applications. Also, they have to run in separate AppDomains. Copy the default AppDomain to create a new identical one, and name it to show what version it will be running.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks Guffa.
Could you be able to tell me how to create/copy AppDomain in server 2000 IIS 5.0 application
Appreciate your help.
- ashish
|
|
|
|
|
AshishBasran wrote: Could you be able to tell me how to create/copy AppDomain in server 2000 IIS 5.0 application
No, I am afraid that I can't. I have only done this on Server 2003, so I am not really sure how it applies to Server 2000.
Why don't you try by specifying different ASP.NET versions for the applications and try to browse to the sites. If there is a conflict, the error message should give you some information on where it is.
---
b { font-weight: normal; }
|
|
|
|
|
All you have to do is create different sites or virtual directories and set the asp.net version in the properties window.
|
|
|
|
|
My question is ,How to set the ASP.NET version in the properties window.
Note: I am using Windows server 2000 and IIS 5.0
- ashish
|
|
|
|
|
I agree with you. We can create differetn application pools and assigne for different versions of .NET in IIS 6.0
But my pain is, I have to use IIS 5.0 as I cannot have 6.0 on Server 2000.
Guffa wrote: Why don't you try by specifying different ASP.NET versions for the applications and try to browse to the sites. If there is a conflict, the error message should give you some information on where it is.
How to specify different ASP.NET versions for the applications?
- ashish
|
|
|
|
|
AshishBasran wrote: How to specify different ASP.NET versions for the applications?
In the properties for the web site you should find the ASP.NET tab. There you can select what version of the framework the application uses.
---
b { font-weight: normal; }
|
|
|
|