Home » Developer & Programmer » Forms » login in the same form with different user (forms n reports 10g windows server2003)
icon5.gif  login in the same form with different user [message #484487] Wed, 01 December 2010 01:12 Go to next message
USER20
Messages: 27
Registered: August 2010
Location: INDIA
Junior Member
I have a mainform through which one can access 3 different application(say a ,b,c)i have made three push buttons by clicking it the main menu of the respeective application is called.The three applcication have different users(user a,user b,userc)and have different database on the same version(db1,db2,db3 on 111g).I am using formservlet and i am calling the main form. configuration.I dont want the user to enter the username and password so i have hardcored it in formsweg.cfg file. my problem is that i login to the main form as 'user a' so i can access the application'a'.but now if i want to access applicatin 'b' how can i can i login as 'user b'?
Re: login in the same form with different user [message #484493 is a reply to message #484487] Wed, 01 December 2010 01:21 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Very simple when the user login in you hold this I.D. and password.

When the user exits from any of the three application you through user back to your main screen and connect the user with the I.D. password that you hold.
Re: login in the same form with different user [message #484495 is a reply to message #484493] Wed, 01 December 2010 01:33 Go to previous messageGo to next message
USER20
Messages: 27
Registered: August 2010
Location: INDIA
Junior Member
k..can you tell me how to implement this..should i put user id and password in 'WHEN-BUTTON-PRESSED' trigger..??
icon11.gif  Re: login in the same form with different user [message #484498 is a reply to message #484495] Wed, 01 December 2010 01:50 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
On the screen where user is entering the password and pressing the login button to go into your main screen that holds the three application access.
Re: login in the same form with different user [message #484499 is a reply to message #484498] Wed, 01 December 2010 01:57 Go to previous messageGo to next message
USER20
Messages: 27
Registered: August 2010
Location: INDIA
Junior Member
that is what the problem is that i dont want the user to enter anything.Simply clicking the button should take them to that application without them entering any kind of details..
Not even the intial login screen.
Re: login in the same form with different user [message #484500 is a reply to message #484499] Wed, 01 December 2010 02:00 Go to previous messageGo to next message
azamkhan
Messages: 557
Registered: August 2005
Senior Member
Ok ... I think you wrote in your 1st message you have hard code he I.D and password. Did you also do this for the main screen login?

If yes then store that I.D. passsword some where and use it to relogin the user automatically when he/she returns back to the main screen.
Re: login in the same form with different user [message #484502 is a reply to message #484500] Wed, 01 December 2010 02:28 Go to previous message
USER20
Messages: 27
Registered: August 2010
Location: INDIA
Junior Member
Ok..i will give it a try..
Previous Topic: Reading Excel data and inserting into table using forms6i
Next Topic: frm-40735:when-button-pressed ora:6503
Goto Forum:
  


Current Time: Thu Sep 19 14:02:17 CDT 2024