473,388 Members | 1,468 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,388 software developers and data experts.

Form Post - Session Values

We currently use an online Task Management System that uses a login form.
This System has some reports that can be ran, however: you must do them
individually and also log-in to the system. This is a process we would like
to automate.

Is it possible to emulate the login process? We would like an application
to automatcially log into the site, gather the session header, and insert
that into the next page so that we can run the reports.

How would I go about having the application automatcially log in and grab
the session information? I am not sure where exactly to start.

Thanks for any help
Andy
Nov 17 '05 #1
4 1280
Is this an ASP.NET site?

Gabriel Lozano-Morán

"Andy" <An**@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
We currently use an online Task Management System that uses a login form.
This System has some reports that can be ran, however: you must do them
individually and also log-in to the system. This is a process we would
like
to automate.

Is it possible to emulate the login process? We would like an application
to automatcially log into the site, gather the session header, and insert
that into the next page so that we can run the reports.

How would I go about having the application automatcially log in and grab
the session information? I am not sure where exactly to start.

Thanks for any help
Andy

Nov 17 '05 #2
The site we would like to automate login is ASP classic.

Not sure this matters: but our app will be a C# .dll that will reside in
Scheduled Tasks and ran once a morning.

"Gabriel Lozano-Morán" wrote:
Is this an ASP.NET site?

Gabriel Lozano-Morán

"Andy" <An**@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
We currently use an online Task Management System that uses a login form.
This System has some reports that can be ran, however: you must do them
individually and also log-in to the system. This is a process we would
like
to automate.

Is it possible to emulate the login process? We would like an application
to automatcially log into the site, gather the session header, and insert
that into the next page so that we can run the reports.

How would I go about having the application automatcially log in and grab
the session information? I am not sure where exactly to start.

Thanks for any help
Andy


Nov 17 '05 #3
Hope this article helps you. It explains you how you can DHTML Document
Object Model to programmatically access the elements in a web page.
http://msdn.microsoft.com/library/de...MLDOMFromC.asp

Gabriel Lozano-Morán

"Andy" <An**@discussions.microsoft.com> wrote in message
news:CB**********************************@microsof t.com...
The site we would like to automate login is ASP classic.

Not sure this matters: but our app will be a C# .dll that will reside in
Scheduled Tasks and ran once a morning.

"Gabriel Lozano-Morán" wrote:
Is this an ASP.NET site?

Gabriel Lozano-Morán

"Andy" <An**@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.com...
> We currently use an online Task Management System that uses a login
> form.
> This System has some reports that can be ran, however: you must do them
> individually and also log-in to the system. This is a process we would
> like
> to automate.
>
> Is it possible to emulate the login process? We would like an
> application
> to automatcially log into the site, gather the session header, and
> insert
> that into the next page so that we can run the reports.
>
> How would I go about having the application automatcially log in and
> grab
> the session information? I am not sure where exactly to start.
>
> Thanks for any help
> Andy


Nov 17 '05 #4
Andy wrote:
We currently use an online Task Management System that uses a login
form. This System has some reports that can be ran, however: you
must do them individually and also log-in to the system. This is a
process we would like to automate.

Is it possible to emulate the login process? We would like an
application to automatcially log into the site, gather the session
header, and insert that into the next page so that we can run the
reports.
This is possible using System.Net.HttpWebRequest.
How would I go about having the application automatcially log in and
grab the session information? I am not sure where exactly to start.


It depends how the web application tracks login state. If it uses
cookies, create a CookieContainer object and set it to all of your
HttpWebRequests you send. Have a look at groups.google.com for other
posts on this topic.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Ken | last post by:
How can I reset the initial form variables that are set with session statements when clicking on a button? I tried this but the function was not called: <?PHP function reset_form($none) {...
12
by: Matthew Wilson | last post by:
Hi, we are getting a lot of spam through our PHP Feedback form, and have set up a new field 'prove you're human', asking them to do some simple maths. What is the command for the PHP script...
4
by: Rolf Rosenquist | last post by:
From a page with a form I collect the fields in the next page. The fields are compared with a database and if a certain condition does not fit, I want to go back to the first page with the form,...
19
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash...
9
by: stack | last post by:
Hi all, I am creating a web app using JSP. I have a bean with some variables whose values are set by the user by using a form in a jsp (method is post). When the user enters those values these are...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.