|
We have deployed three applications(three different virtual directories) having the following settings for SSO.
Forms Authentication-Settings are similar in all the applications
MachineKey entry is kept similar in all the web.config.
The authentication cookie is not persistent.
SSO works well in IE. When the user opens a new window, it asks for the user to log in. When the user navigates to other sites from the same window, it doesn't ask for log in.
In firefox, even if a new window is opened, it doesn't ask for log in and logging in automatically.
Please help.
|
|
|
|
|
hi
how to clear particular page history only from browser.
please can any one help. I need hardly.
thanks
You get the best out of others when you give the best of yourself.
modified on Saturday, June 21, 2008 7:55 AM
|
|
|
|
|
Try given following options:
Add this in Head section:
<head>
<pre><meta http-equiv="CACHE-CONTROL" content="NO-CACHE"></meta>
OR
on Page load method:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Cache.SetAllowResponseInBrowserHistory(false);
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
actually I want to clear history for particular page only not all history.
I applied
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE"></meta>
in master page
and
in page load in test.aspx.cs page
Response.Cache.SetCacheability(HttpCacheability.NoCache);Response.Cache.SetAllowResponseInBrowserHistory(false);
but still it's going back by browser.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: how to clear particular page history only from browser.
You can't using ASP.NET. ASP.NET runs on server and emits HTML for the requests. It can't access client's computer and delete history.
trilokharry wrote: I need hardly.
hardly ?[^]
|
|
|
|
|
hi,
In Masterpage i have a LinkButton control (Enabled=false)i.e Disabled.
I want to Enable that LinkButton from another page .
how do I Enable the button control created on masterpage from another aspx page?? is this possible?
Thanks in advance.
|
|
|
|
|
With the help of FindControl method:
LinkButton lbn=(LinkButton) this.Page.Master.FindControl("Likbuttonid");
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
Hi Parwej Ahamad,
Thanks for your reply.
Its working only in pageload, but not in other events and functions where we use Response.Redirect("url")& Server.Transfer("url").
In my case i have to Enable that Master page Button & i have transfer user to another page.
I wrote this in btn_LoginClick() Event.
So i have Enable that button and i have to transfer user to another page.
Please help me... How do i achive this.?
Thanks
|
|
|
|
|
Hi,
I am using System.Web.HttpContext.Current.Session at my cs file for accessing Session variables like:
1. String CustomerID="0";<br />
2. if(System.Web.HttpContext.Current.Session["CustID"]!=null)<br />
3. { <br />
4. CustomerID=<br />
5. System.Web.HttpContext.Current.Session["CustID"].ToString();<br />
6. }<br />
<br /> 7. //////////
It give an object reference not set to an instatnce of an object- error at line number 2.
I have allready assigned the Session["CustID"] at another page.
N a r e s h P a t e l
|
|
|
|
|
|
How to connect the sql server 2005 database to vb.net 2005 please provide the code.
|
|
|
|
|
If you have no idea how to do this, you either have not read your book, or you have not bought one. Either way, the process is too complex to answer in a forum post. Buy a book, read an article, come back if you've tried to do it, and have a *specific* question. That's where these forums are better than google, not top level 'I have no idea where to start because I haven't looked' questions.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Dim Con As New SqlConnection
Con = New SqlConnection("Data Source=server; Initial catalog=TEST;Integrated security=true;")
Sathya
|
|
|
|
|
Now, you know he's going to try this verbatim and come back to say it didn't work, right ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Or I'll get a bunch of 1 votes from retards, and he'll do what so many people do, ask vague questions and ignore all the people who try to help them further.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
if i assign in login page what happen, how to check after login user verified or not which condition i need to check
Request.IsAuthenticated is always showing true,
when it will be true and when it will false,
for setting Request.IsAuthenticated =true what we need to do
This is haneef.............................................................
|
|
|
|
|
|
i try this code but this not worked properly.
Button but = new Button();
but.Text = "Full Detail";
but.ID = "Full_Detail";
t.OnClientClick += new System.EventHandler(fullDetail);
Panel1.Controls.Add(but);
private void fullDetail(object sender, EventArgs e)
{
SearchResult.InnerHtml = "Hi";
}
|
|
|
|
|
Your click event will not fire unless the button is added before the page load event.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
when did you add the button.
check this, itw working fine
protected void Page_Load(object sender, EventArgs e)
{
Button b = new Button();
b.Text = "Dunamic";
b.ID = "myid";
b.Click += new EventHandler(b_Click);
Panel1.Controls.Add(b);
}
void b_Click(object sender, EventArgs e)
{
Response.Write("Dynamic Button");
}
|
|
|
|
|
thank
this code button load in page_load
but i have a button. then click on button i want to create a new button
and then i click on new button than show message "Hi";
|
|
|
|
|
prakash_adysoft wrote: this code button load in page_load
yes
prakash_adysoft wrote: have a button. then click on button i want to create a new button
as Chirs say, you have register event before page load.
|
|
|
|
|
I think its better to creat to do this functionality in Page_init rather than Page Load
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
Hello!
I have a problem IIS not Support to .Net FrameWork directly. How can i code in ASP.Net2005 with IIS of Xampp(Aachi Server).
Regard
Sohail
|
|
|
|