JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!



Automatic Login


R

keyboard_arrow_up
1
keyboard_arrow_down


First Post Mark as Spam rprabeesh
Posts: 3 - Registered: 2007-09-10 05:08:42

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,,,,,,




R

keyboard_arrow_up
0
keyboard_arrow_down


Reply #1 Mark as Spam rprabeesh
Posts: 3 - Registered: 2007-09-10 05:08:42

Quoted text
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????




B

keyboard_arrow_up
0
keyboard_arrow_down


Reply #2 Mark as Spam bobbyblades
Posts: 85 - Registered: 2007-08-24 15:38:12

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




R

keyboard_arrow_up
0
keyboard_arrow_down


Reply #3 Mark as Spam rprabeesh
Posts: 3 - Registered: 2007-09-10 05:08:42

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!!!!!!?




B

keyboard_arrow_up
0
keyboard_arrow_down


Reply #4 Mark as Spam bobbyblades
Posts: 85 - Registered: 2007-08-24 15:38:12

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.




N

keyboard_arrow_up
0
keyboard_arrow_down


Reply #5 Mark as Spam ngawaglodup
Posts: 1 - Registered: 2013-08-30 21:52:45

Any one got the code to do that???




S

keyboard_arrow_up
0
keyboard_arrow_down


Reply #6 Mark as Spam sachingrover
Posts: 4 - Registered: 2013-09-16 23:43:57

you can use javascript api, just download javascript api and integrate in your project just by doing less code. you can use shephertz api.




R

keyboard_arrow_up
0
keyboard_arrow_down


Reply #7 Mark as Spam Rasmus Lindström
Posts: 32 - Registered: 2015-12-20 08:38:02

There are a few great scripts for using social media login. Search Google for that or "oAuth" scripts. And you'll find some nice solutions that doesn't require any programming






JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!




MENU
Advertising