Redirecting Users To Personalized Page?
Aug 20, 2010
I've been able to create a cool little website, it's up and running with users logging in and out, I created roles so my administrative team can see sensitive data that's not available to regular and anonymous users.
Now they would like me to create a page specific to each user. For instance when user A logs in they are redirected to a page that has information that pertains to user A only (like a list of their benefits/ their remaining vacation time). This page needs to be accessible only to user A.
View 5 Replies
Similar Messages:
Feb 7, 2011
I have created a forgot password page with a PasswordRecovery control in it.
<asp:PasswordRecovery ID="PasswordRecovery1" runat="server"
BorderColor="#E6E2D8" BorderPadding="4" BorderStyle="Solid" BorderWidth="1px"
Font-Names="Verdana" Font-Size="0.8em" Height="210px"
onsendingmail="PasswordRecovery1_SendingMail" Width="491px">
I want to redirect the user back to the login.aspx page once the user clicks the Forgot Password button.
View 2 Replies
Mar 22, 2011
I have reporting setup on my webserver using sql server 2005 and asp.net 2.0
I would like to show different reports depending on who logs in.
View 3 Replies
May 3, 2010
I have a website with a home page using web parts and can be personalized. One thing that we need is to track the usage of each web parts i.e. How many users are using each web parts.
When I go to check in the database, there the whole Personalized page is saved as a Binary Data. The info regarding each webparts is not saved.
View 2 Replies
Feb 2, 2014
I have a registration page I enter the details of the customers and redirect to another page for capturing photo and I come back to the registration page. I want to retain all the values i entered when i land on the registration page.
View 1 Replies
Sep 22, 2010
I am working on an internal application... i setup IIS 7 to use windows authentication since its behind the firewall and on the domain.. there is a "public" side.. and an "internal" side... if your not part of IT.. you should get the public side.. this is just informational.. my problem is that there is 1 or two pcs that are not on the domain and nobody is logged into them.. how can i just redirect anonymous users to another site?
everything i read says you can't use anonymous AND windows auth.. so my thought was to just redirect the anonymous users to another site.. how can you do that?
View 1 Replies
Nov 28, 2010
When a user logs in, they are redireced to files within members folder. When a user happens to log in and gets redireced, there is the chance they will retype the default page address and go to the homepage, which is accessable to everyone. The issue is, the log in status control shows "Logout". how do I check if a user accesses the homepage, if they are logged in and if they are send them elsewhere. I've tried different codes, but not getting the result. Here is one code I tried...
[Code]....
View 4 Replies
Mar 7, 2011
we have two identical websites. One located at apac.ourdomain.com and the other at eu.ourdomain.com. The only differences about these websites are one is hosted in Australia, and the other is in London. The databases they backed onto have identical schema, except one is in Australia, and the other is in London, each storing data related to our partners in the region.
What we want to do is implement some form of centralise landing page @ www.ourdomain.com using forms authentication. Once a partner logs on to www.ourdomain.com, we will redirect them to either the apac or the eu server. My challenge is how do I transfer the user credentials from the landing site to the regional site? By Credentials, I mean everything from their username to their roles / permissions. And once a user is redirected to the regional site, how do i get them back to the landing site should they required to modify their details?
I know I will need to have a centralised user details db for the landing site, but it is the communication to and from the regional site afterward that I'm uncertain about.
View 1 Replies
Dec 30, 2010
On a membership website that every user has an acount how to give a user place or page in the way below: assume that website is [URL] then we have a user with acount Jimmy now I want to have a link like : [URL] that gives general information about jimmy to other users. one solution is to make a sub directory on root named jimmy and have an index.aspx file in that. it is space consuming and I do not want to do it. Is there any other briliant solution for this problem that for example I can use just one page and take jimmy as query string or something like that to show jimmy's information?
View 1 Replies
Feb 15, 2010
We would like to redirect a user to a different page based on his or her credentials.
In other words, if a user's credentials are authenticated, a user is presented with a dropdown list belonging to his/her group to select from.
So far, it doesn't matter what the user's credentials are, the user is not getting redirected.
[code]....
View 3 Replies
May 26, 2010
I am working on a website in which many users can create their account and have a personalized page. I wish to provide them a twitter like url to access their pages, for example www.mysite.com/smith or www.mysite.com/john . I am using asp.net mvc 1.0. I have an understand that i can add routes to the global.asax file, but i am not able to figure out how to add a route that will work for such urls.
View 2 Replies
Jan 10, 2011
I've done a lot of searching trying to figure this out: I am soon to develop an app using Personalized URLs in ASP .Net. Thankfully we are going to use the mysite.com/user1, mysite.com/user2 approach, as I can find plenty of info on making that happen using URL rewrites. However, in the post @ http://forums.asp.net/p/1259856/2842613.aspx#2842613 there is someone asking if there is a way to do something along the lines of user1.mysite.com, but dynamically. In the post there are answers that it can be done, but they are not very clear. I presented this my supervisor who then asked how does this work with DNS and I shrugged my shoulders and did the Scooby-Doo "I don't know" sound (rye-ron't-row)...
View 2 Replies
Dec 24, 2010
I have a page in which I am not using cache by using this code:
HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1));
HttpContext.Current.Response.Cache.SetValidUntilExpires(false);
HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches);
HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
HttpContext.Current.Response.Cache.SetNoStore();
Now I want to know: Is there any difference between coming to this page using a proper link or coming back using browser back button, or is there any way to detect this?
View 2 Replies
Jan 15, 2010
need some info regarding button click. I want to send mail with autorespond mail on single button click. Within that waiting time I want a screen that will show "REDIRECTING" (like gmail) and will show a "thank you" page after successfully sending themail.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
[code]....
View 2 Replies
May 21, 2010
I am trying to redirect an ASPX Page to a Classic ASP Page, This is Working Fine with my Local IIS (version 5.1). OS is XPesponse.Redirect("xyz.asp?id=1234");I tried to deploy it into Windows server 2003, IIS Version 6.0 and i am getting an error"Page Cannot be Displayed. here is a problem with the page you are trying to reach and it cannot be displayed."
View 2 Replies
Nov 8, 2010
n the web page I need to print some content partly fetched from database to the user. The user can print all the reciepts of his basket or just print one reciept. what I do for now is that I redirect user to another page including datalists that fetched regarding info from database and then by clicking print it prints data. after that user shoud push back button to be redirected back to main page.But I want to do something on my page, that some how maybe pop up modals or flyouts or anything else, will be able to show data collected from database match with users basket, and let user click print and then print it. I need a solution on the same page not on the other page.
View 2 Replies
Mar 17, 2013
protected void lblNVariz_Click(object sender, EventArgs e)
{
Session["Page"] = "~/Admin.aspx";
Response.Redirect("Admin/Bank-Data.aspx");
}
but when I click on link button it didn't redirect to Bank_data.aspx page it just refresh admin.aspx page
but when I change code Like below
protected void lblNVariz_Click(object sender, EventArgs e)
{
Response.Redirect("Admin/Bank-Data.aspx");
}
it redirect to Bank_data.aspx page.When I put session on it, it didn't worked...
View 1 Replies
Nov 12, 2013
vs 2010, sql server 2008
I want login page code.my code is not working.
I have user table with username and password.
obj = new common();
con = new SqlConnection();
con = obj.getconnection();
SqlCommand cmd = new SqlCommand();
SqlDataReader rd;
cmd.Connection = con;
con.Open();
cmd.CommandText = "select username,password from user where username =@username and password=@password";
[CODE]..
when username and password is correct , it should redirect to default page.
View 1 Replies
Jul 22, 2010
I will show a message via label, make label visible.
once the label is visible is it possible to stay on teh page for 5 seconds and then redirect via response.redirect to another page.
View 5 Replies
Mar 10, 2010
I have a created a web portal in multi-language. I put all the pages related to "english-language" in one folder (/english) and "arabic-language" in one folder. I didn't have a default.aspx in my root folder(wwwroot), its in /english folder. There is no
index.htm or default.aspx page in my root folder.I am very confused how can i redirect the default.apage when page loads. The default pages is stored in /english folder.
View 3 Replies
Mar 17, 2011
I have a web application that's really quite simple. I have a MainMenu.aspx that contains a asp:Menu control and an IFrame. This IFrame will contain other aspx pages based on the selection from the menu.
My question is this: When I have selected a menu option and a specific page has loaded into the IFrame and this new page has a "Cancel" button that simply goes back to the MainMenu.aspx page. How would I code that in the VB.Net code-behind file of this page? I'm assuming it would be in the BT_Cancel_Click() event but I'm not sure how to code it!
View 5 Replies
Mar 14, 2011
I have been trying to set the default url but it is not redirecting to the page that I want. The defaultUrl="admin/Home.aspx" is keeping redirecting back to the login.aspx Below is the code i am doing in the web.config
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" timeout="20" defaultUrl="admin/Home.aspx" />
</authentication>
the url after being redirected is as follows
/Login.aspx?ReturnUrl=%2fadmin%2fHome.aspx
what do the %2f mean?
View 2 Replies
May 28, 2010
I have a site .net 2.0 and I redirected users to alogin page when the hit the site. (I think the default.aspx page)
But i cant remember how i did it.
I am now wanting upgrade to asp.net mvc appbut the redirect is still there to a nonexistent page.
View 1 Replies
Jan 11, 2011
I have an asp.net web application. The problem is when I click on "view in browser" for the default page (and I have set this as the start page) it redirects me to the Dirctory listing. I have tried to change the settings in the properties page of the project to the default page, but I still get redirected to the Directory page. I have also checked the source code and ensured that NO code is written to get the page re-directed to the directory page. Not sure why this happens. Has it anything to do with any settings change in the IIS?
View 2 Replies
Oct 17, 2010
If I have set the forms authentication timeout to 30 days (in minutes) and I have set the session timeout to 5 mins and I am using a cookie to persist the different session variables. why does asp.net or IIS always always issue a 302 and redirects to the login page when the session times out? (Doing http debugging it puts an "object moved to here" message) I am checking the session in all page_init s on all pages since they all inherit from a common Page class, if I find a faulty session i load the session variables from the cookie mentioned above. My question is, who or what is redirecting to the login page?
I have tested this on IIS6 & IIS7 with identical results. I have put breakpoints on every single redirect statement and they never fired, and hence I have concluded that something else is issuing those redirects.
further debbuging revealed the following: A first chance exception of ype 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code But I guess that is natural since it is issuing a redirect anyway.
View 1 Replies