Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Problem of security
Hi all

I have a problem of the authentication of login.

At first I defined three variables for login user in site.wfs file.

but there are 6 files in on enviroment as follows:


I really dont know which file is the real one that I should modify?
then I add the follows command in all of them.

< set> USER_NAME (pass)
< set> USER_PASS (pass)
< set> USER_ID (pass)

And it runs good on the localhost url, But when I run it in IP mode ,
it cant transfer the variables throuth the pages at the first time,
and in my source there is a judge code for these variables, when the variables is null,
it will set current location to the login page and make the user login again, when the second
login finished. the next page can get that login values by variables.
And when I close the IE and run this again , same problem will happens.

http://localhost/approot/jrsnsl/nw_login.htm variables transfered OK first time cant transfer the variables , and the next time It will be OK

So I want to know what is the different with the two URL, Is that caused by webfocus or tomcat or IIS?
Can everybody help me ?



This message has been edited. Last edited by: lepoard,


Posts: 13 | Registered: February 06, 2008Reply With QuoteReport This Post
posted Hide Post

You should always update site.wfs using the WF Client Console, not the editor. That way you will make sure that you update the correct one. The URL for this is:

If the two URLs you specified in your post are pointing to the same server, then I would expect that the behaviour would be the same. However, I suspect that they do not.

Please run the URL I provided with your proper server name, go to Configuration/Custom Settings and make your changes.

Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Reply With QuoteReport This Post
posted Hide Post
Hi Ginny
thanks for your advice! You are right , the two URL's behaviour is same .

And i make a mistake for this problem.I found out the only different is , when i add the url in the favorite list of IE, and open it in the explorer, the variables will transfered by null value, but when i open the IE, and then open the URL from the favorite list, it will be ok ?

Can anybody tell me what is the different between the two method?




Posts: 13 | Registered: February 06, 2008Reply With QuoteReport This Post
posted Hide Post

Difference between the two methods:
- manual - that's just it. No further action will be taken by the system, because it does not know that anything has changed. For the change to take effect you'll have to restart the app server (Tomcat in most cases).
- by means of the admin console: the system will know that something has changed and will effectuate the change immediately. The wfs files will be re-processed by the servlets. No further action is required.
The big thing here is, that the wfs files are being read by the servlet, and this will usually happen only once - at the start of the app server. So if something changes you will not see the change unless a restart os done, or if the servlets are being forced to reprocess.

Hope this explanation is clear enough.


- Using AS 8.2.01 on Windows 7 - IE11.
in Focus since 1988
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport This Post
posted Hide Post

Thanks for your help, and your explanation is quite clearly!

At this time the problem is when I open the html from the Explorer , the variables will not transfered by the login page , but when I open the the html from IE , variables will normally transfered.

Is that webfocus's problem ?




Posts: 13 | Registered: February 06, 2008Reply With QuoteReport This Post
Platinum Member
posted Hide Post
If you're opening a .HTM file that resides on your local machine, it'll open and execute only what's available on your local machine.

When you open the .HTM file via a Browser, and retrieve it off of your Web / App Server, all that is needed will be available and executed.

Hope that helps.
Posts: 140 | Registered: May 02, 2007Reply With QuoteReport This Post
  Powered by Social Strata  

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.