VS 2008 Lost Plus Sign?
Mar 25, 2011
I'm using this:
savetype=dirty&dirtytype=row&row=3&rv=100,93,60,100,78,80,89,85,60,100,100,X,X,22.5,80,60,82,80,100, 94,93,40,100,85,80,16,80,90,100,100,80,100,80,90,100,87,100,87,80,95,100,108.5,116,109.5,X,83,85,84, 100,100,96,X,70,80,X,80,30,20,75,29,33,50,80,80,100,29,25,36,14,50,95,80,95,100,119.5,100,100,85,65, 65,90,75,89,100,93,100,60,50,70,80,80&MP=3&Avg=C+ (78.21%)&FinalAvg=B- (81.66%)&jGuid=4f927982e9e3481e822ef69f38d0cbb7
But that C+ is turning intoRequest.Form(5)"C (78.21%)"StringAt this point in the JS it's still C+ in the postdata vbl
Code:
case "savegrid":
xmlhttp.onreadystatechange = state_savegrid;
xmlhttp.open("POST", url, true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.send(postdata);
break;
View 5 Replies
Jan 15, 2010
we have developed a ASP.NET application that required a username and password to login and use the application.Now on of our customers wants to use Single Sign on with their Microsoft Sharepoint Portal.
Basically they want their users to be able to login to the portal, and then be able to access our application, without having to provide their login details again.Does anyone have experience with implementing Single Sign on?
View 4 Replies
Apr 28, 2010
First, I'm running my application on my local Win 7 box, and viewing the site on the same box.
I have several session variables set while interacting with my application. When I go to check the data in the database through the Database Explorer (Show Table Data), my session is lost. This is instant.
Why does this happen? Is there a way to prevent it?
View 1 Replies
Jan 15, 2010
I create a fake link for SEO friendly purpose, for exampl:
If I have a link like this:
http://localhost:1846/mycompany/codesByBook/C#_beginner_1001.aspx in an <a></a> tag.
and if I use:
[Code]....
the value is: http://localhost:1846/mycompany/codesByBook/C (rest of the string:#_beginner_1001.aspx is cut off),
So the problem is the # sign, can you let me know how to keep the # sign so the Request.Url.ToString() get the full path?
View 2 Replies
Mar 15, 2011
I'm trying to make a website that can sign into other websites for the users, and grab certain information. For example: a web based game forum that automatically pulls your game statistics. My website would have to navigate to the game url, fill in the user name and password, sign in, then read the html once signed in (this is the easy part, for which I would simply use the HTML agility pack or something similar). Is this sign in process possible with asp.net?
View 6 Replies
Jan 6, 2010
but I'm looking for a hack or way to put a + in a folder name, like
http://www.mysite.com/cats+dogs/Default.aspx
I'm using IIS 7, and have tried creating a virtual directory to achieve this, and it didn't work. I am not allowed to put %2B in the explorer folder or virtual folder name.
how I could hack this to make it work? We've already had brochures printed up with a url on it, and wondering if there is some way I can alias it or some trick that might do it.
EDIT: I was able to figure this out, by creating a virtual folder with a + in it, then redirecting to a URL, which points to a virtual directory with the content.
View 3 Replies
Mar 5, 2010
I have a asp.net web application and one asp appliation which are hosted on different places.now i will login to asp application. within that asp application i have a link which will open the asp.net applicaitno home page in pop up window without need of sign in again along with full security.
View 2 Replies
Jan 4, 2011
I have a question, when I compiled my asp.net c# web application and transfer the ".dll" file to my hosting server which is godaddy. What happened was, all my users that used to show "online" all appears offline at once. I query db to get that online status of a column called "LastActivity" I guess, when that happens, I would like to sign out everyone so that they can relogin? How can I do that? I'm using form authentication.
View 3 Replies
May 20, 2010
1. The plus sign '+' is skipped (doesn't appear) when I submit the content.2. When I copy -for example- a code from Visual Studio and paste it in the editor, the spaces are skipped.I want the code to be displayed exactly as it is in Visual Studio.
View 4 Replies
Nov 5, 2010
I have such a text for example:
"A01+B02+C03+D04+E05+F06+G07+H08+I09+J10+K11+L12+M13+N14+O15+P16"
I would like to add a space after each fourth '+' sign.
This is because if the text is too long in the grid's cell in my page, then it's simply cut off. So I'm thinking to simply wrap the string before binding the data to the grid.
I've played around with several string methods, like getting the IndexOf and the adding a space with Insert, or using a StringBuilder to make a completely new string out of the original one, but I just can't get the final solution running.
View 7 Replies
Aug 30, 2010
I have basic Single Sign-On working across 2 MVC sites (call them SiteA and SiteB) using something along the lines of the following method:http://forums.asp.net/p/1023838/2614630.aspxThey are on sub-domains of the same domain and share hashencryption keys etc in web.config. I've modified the cookie so it is accessible to all Sites on the same domain. All of this seems to be working ok.The sites are on separate servers without access to the same SQL database, so only SiteA actually holds the user login details. SiteB has a membership database, but with empty users.This works fine for my required scenario which is:1) User logs into SiteA2) The application loads data from SiteA (by AJAX) and SiteB (by AJAX using JSONP)I have the following LogOn Action on my AccountController for SiteA, which is where the "magic" happens:
[HttpPost]
public ActionResult LogOn(LogOnModel model, string returnUrl)
{
[code]...
View 2 Replies
May 30, 2010
I have used membership provider to implement my system. The system administrator can list the users. What I want to do is, administrator should be able to sign-in as the selected user. I can sign out administrator by FormsAuthentication.Signout but how can I sign in as the selected user? Passwords are hashed so I can not retrieve the passwords.
View 3 Replies
Oct 13, 2010
I have a web app located at [URL] and I have several domains, such as [URL], [URL], etc. all pointing to the same directory in IIS. I use Host Headers to acheive this by setting the 'Host Header Values' under properties for the main site (under the Web site identification section). Based on the host header value I perform different functions in my pages.
Because of the way I have it set up, all the domains share the same files, web.config, etc. I have set the 'machinekey' in my web.config and have forms authemtication. However, when I go to MyMainSite.com and log in and then the user clicks a link and gets directed to MyFirstSite.com the user is shown as logged out. I need the user to be logged in and I need to be able to access the logged in user profile to display certain information. I thought by setting the 'machinekey', i could acheive this, but it does not seem to work.
how to go about having a single log on for my users?
The articles I have found show the same domain or have different domains each with a different web.config. The way they describe does not seem to work for me.
View 1 Replies
Feb 23, 2010
I have a textbox which accept the quantity of any material ,it could be in decimal also,my problem is how to prevent sign such as +,_ before quantity numbers ,like -2 or -2.5.
View 3 Replies
Apr 18, 2010
What is the easiest way to manipulate the built in LoginView and membership handlers so that users of a website can sign up with just their email (entered twice) and a password (entered twice)? The default is asking the user for a username, the email (just once) and the password (twice). How can this be tweaked, including adjusting the in-built aspnetUser table in the database?
View 4 Replies
Feb 16, 2011
m using visual studio 2008.my requirement is to implement single sign on across many domains without using cookies. is this possible?for example, i have 3 domains (hosted in 3 different systems).[URL]i implemented single sign on with cookies, if the sites are hosted in single system then it is working. but it doesnt work if cookies are disabled.i tried all made all possible google searches, but couldnt find anything useful.
View 2 Replies
Jul 16, 2010
Jeff Atwood has a good post on ways to pass email spam filters in his post at:[URL]
The only issue I have is figuring out a way to sign the email with a private key for DKIM. We use the MailMessage and SmtpClient objects that come with ASP.NET 3.5. How can I sign an email with these objects?
Also, we use the free SMTP Server that comes with Windows 2008 R2. I don't believe there is a way to sign from that server, if there is way I'm open to using that approach.
View 1 Replies