It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Automatic Login

Automatic Login

Postby rprabeesh on Mon Sep 10, 2007 11:31 am

Hi,
I am a newbee.....

have less knowledge on JavaScript.

I wanted to automate my local intranet site login.
We usually enter our username and password to login.

I need to automate this process.

The page contains various frames etc.. how can i map the username and pwd tht i have with the input box in the page and enter submit button dynamically?

Please help me out...it would be great if there is a sample code or tutorial for this,,,,,, :)
rprabeesh
 
Posts: 3
Joined: Mon Sep 10, 2007 10:08 am

Re: Automatic Login

Postby rprabeesh on Wed Sep 12, 2007 10:23 am

rprabeesh wrote:Please help me out...it would be great if there is a sample code or tutorial for this,,,,,, :)


looks no one is interested in my request.

I just need to fill the login username and pwd and click submit button through my program in a webpage which popups up a dialog box of user name and password while it is linked....

anyone???...not even the admin or elite group know this????
rprabeesh
 
Posts: 3
Joined: Mon Sep 10, 2007 10:08 am

Postby bobbyblades on Wed Sep 12, 2007 6:53 pm

I'm not sure what your trying to do? post some code and I'll see what the problem is. If your trying to fill in a form using predetermined values are the values coming from a database? if so you need a language like php to get and print those values into the form and print a javascript command that submits the form: aka the form elements submit() method, it all depends largely on where the values are coming from that you want to fill in the form with. otherwise most people won't guess on what your trying to acomplish
User avatar
bobbyblades
50+ Club
 
Posts: 85
Joined: Fri Aug 24, 2007 8:38 pm
Location: hawaii or bust

Postby rprabeesh on Thu Sep 13, 2007 6:41 am

I dont have any code as such.I need just a approach in which this can be achieved.

What i am try to do is.I have a webpage for my application.where the user enters user id and pwd and when he submits,I have to pass these values to an existing intranet page which pop-up a dialog box on loading.This dialog box require user id and pwd as input.

I want this to happen in background.

I just need to know how to achieve this.i have almost no experience in scripting..

Any one to Help!!!!!!?
rprabeesh
 
Posts: 3
Joined: Mon Sep 10, 2007 10:08 am

Postby bobbyblades on Thu Sep 13, 2007 8:23 am

what your trying to do simply won't work with javascript. you cannot use javascript to enact any kind of real security of a website or webpage because the source code is visible. you must use a server side language in cooperation with javascript. javascript cannot work with the filesystem or a database which is where you must store a username or password if you want to implement real security measures. if a user enters a password and username what are you checking those values against? you can't pull them out of a hat. the real username and password must be stored securely and the values from the form must be checked against those. And it cannot be done with just javascript unless you really don't want any security and want anybody to waltz right into your secure website. If your knowledge is weak in scripting there's only one way to solve it. read read read and learn learn learn.
User avatar
bobbyblades
50+ Club
 
Posts: 85
Joined: Fri Aug 24, 2007 8:38 pm
Location: hawaii or bust


Who is online

Users browsing this forum: No registered users and 4 guests