473,386 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

loging in to website using C#

270 100+
pls tell me how to login to the website using C#.
like..
from my application
i want to login to rediff.com using C#
Dec 30 '07 #1
13 2805
NitinSawant
270 100+
I mean how to retrieve javascript variables in c# program??
Apr 21 '08 #2
Mr Gray
47
Still makes no sense what you are saying, please can you be more complete and descriptive in your explanation.
Apr 21 '08 #3
balame2004
142 100+
I mean how to retrieve javascript variables in c# program??

I think you want to redirect to rediff.com from your web application. If so try the below.

Response.Redirect("www.rediff.com");


- Balaji U
Apr 21 '08 #4
NitinSawant
270 100+
No no no!!

I'm developing an windows app using c#,
in which i have two textboxes, txtusername and txtpassword and button btnlogin, when i click on btnlogin it should login to rediffmail and retrieve all the e-mails in a listbox
Apr 21 '08 #5
NitinSawant
270 100+
I've created the windows form gui but haven't added the code
Apr 21 '08 #6
Mr Gray
47
Please copy in your code and we can look at it with you and hopefully point out any mistakes.
Apr 21 '08 #7
Plater
7,872 Expert 4TB
That is not a simple task, web scrapping never is.
You will probably want to use HttpWebRequest to make the requests to the various pages. You will probably have to parse the response headers as well as the response data to make sure are getting/setting everything correctly.
I would recomend getting a packetwatcher (like ethereal) so you can compare the messages your program sends versus logging in from a webpage.
Apr 21 '08 #8
NitinSawant
270 100+
That is not a simple task, web scrapping never is.
You will probably want to use HttpWebRequest to make the requests to the various pages. You will probably have to parse the response headers as well as the response data to make sure are getting/setting everything correctly.
I would recomend getting a packetwatcher (like ethereal) so you can compare the messages your program sends versus logging in from a webpage.
thanx for ur reply,
can you pls explain with any example,
thanx in advance
Apr 25 '08 #9
Frinavale
9,735 Expert Mod 8TB
No no no!!

I'm developing an windows app using c#,
in which i have two textboxes, txtusername and txtpassword and button btnlogin, when i click on btnlogin it should login to rediffmail and retrieve all the e-mails in a listbox
Is rediffmail is an email provider?
Like gmail or hotmail?


-Frinny
Apr 25 '08 #11
NitinSawant
270 100+
Ya rediffmail is e-mail provider,


pls tell me how to login to it and retrieve e-mails using screen scrapping?
May 6 '08 #12
Frinavale
9,735 Expert Mod 8TB
Ya rediffmail is e-mail provider,


pls tell me how to login to it and retrieve e-mails using screen scrapping?
I don't understand why you need to do screen scraping.
Why can't you just use the user's credentials to log into rediffmail and send an email on their behalf?

-Frinny
May 6 '08 #13
NitinSawant
270 100+
I want to develop outlook express like software
May 8 '08 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: the friendly display name | last post by:
OK, following scenario: I have on an unsecured site the boxes where the user can enter User ID and passwort, now, after he clicks on login, the data should be send over HTTPS. Remember: The page...
1
by: Mystique | last post by:
Hi Does anybody know i can log the parameters that are called to a Oracle stored procedure with C#? I am using ODP Data Provider for the connection. Regards, Mystique
0
by: Rahoove | last post by:
can anyone help me on this> I always get an error login failure message when I tried login in to MSDE, SQL server using ASP.net in VB.net. Before now, when I log in to the sample database,...
19
by: cpnet | last post by:
I'm using VS2005, C#, ASP.NET 2.0. I'm trying to create a report using SQL Reporting Services (to be used in local mode so I don't have to deal with SQL Server). When I create a new report in my...
2
by: phyburn | last post by:
It seems there is something wrong with my script for the reason that it always returns, UserName NOT found . I know it connects to the db fine because I don't get a error. So just been trying to...
3
by: MIUSS | last post by:
Hi need an advice, I'm beginner with PHP. I got little problem: I use this solution as login to get administration of my pages: <?php // if authorization isn't done we request it if...
1
by: shiva359 | last post by:
Dear All , will changes done on a table data After a load with nonrecoverable option on a archive loging enabled Database be recorded in logs if we don't do a complete backup ...
3
by: divina11 | last post by:
I'm writting a login script using JavaScript, can someone help with the parts I've commented? Thank you <HTML><HEAD> <TITLE>Login Program</TITLE> </HEAD> <SCRIPT> function validate() {
0
by: cmrhema | last post by:
Hi, Can anyone point me the uses of going with the login using sql membership. Further I have created one table using the sqlmembership provided and have kept the passwords in an encrypted manner,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.