-
Posts
608 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Posts posted by Frederick
-
-
Please see attached video and testcase.
When I click the button, I want the Google web site to be displayed in the same tab as my application. This should allow me to click the Back button from the Google page to return to my application.
-
In the above JS code, how do I display the URL in the same tab?
-
1 hour ago, Marlon Nardi said:
There are several ways, the simplest I use is the following:
in ServerModule -> OnHTTPCommand
Sample:
procedure TUniServerModule.UniGUIServerModuleHTTPCommand( ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var Handled: Boolean); var vParams: string; vI: Integer; begin for vI := 0 to ARequestInfo.Params.Count - 1 do begin if vI = 0 then vParams := '?' + ARequestInfo.Params[vI] else vParams := vParams + '&' + ARequestInfo.Params[vI] end; end;
If I am not mistaken, ServerModule is a singleton. How do I get the parameter text for different sessions from the MainForm?
-
I have a URL like https://www.mydomain.com/?name=James+Tan&phone=0131234123
How do I get the parameter list as-is like the following?
?name=James+Tan&phone=0131234123
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1555)
-
2 hours ago, 55143681 said:
Never Dead.
I suppose this means that the app with HyperServer is like a zombie and never dies.
-
Thanks. These look interesting. I'll explore them to learn more.
-
1 hour ago, Farshad Mohajeri said:
Yes, exactly. It is one of the main features of the HyperServer.
Thanks. That is reassuring.
Is there a parameter in the CFG file that controls the length of time of inactivity before this happens or is it internally built-in?
-
If Hyperserver is used to start an application and if the application crashes for any reason, will Hyperserver restart it automatically when it is unable to communicate with the application after a certain period?
This is for either the ISAPI or service types of Hyperserver.
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1552)
-
5 hours ago, Abaksoft said:
Did you set your DMZ router ?
Yes, I did after reading the above messages.
Your postings are very informative and I will keep a record of them.
Thanks.
- 1
-
It is good thing we don't have the restriction here. We have many Internet access providers to choose from and furthermore, if such a restriction was imposed, the consumers here would raise a big fuss.
-
Thank you all for the information.
I managed to access the application using the public IP address by port forwarding the port number in the router to the local IP address of my computer.
In addition, since I had two firewalls running, I had to create incoming rules for both firewalls to allow access to the TCP port number.
-
4 minutes ago, irigsoft said:
hello, You have to set all routers and redirect port 8077 to ip addres of Pc where unigui is.
The IP address of the PC refers to the network IP address?
Interestingly, if the UniGUI application is hosted with IIS, this does not need to be done. Do I need to do this for standalone and service UniGUI applications?
-
I have a public IP address of say, 210.209.123.182 and my UniGUI application runs on port 8077.
From my phone, I can ping the IP address but when I type http://210.209.123.182:8077 in the phone's browser, it will not connect.
I have turned off all firewalls and even allow incoming access to port 8077 in Windows Defender Firewall but there is no change.
What am I missing here?
Note: Connecting locally using the network IP address works fine.
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1552)
-
I have the following setup with 3 sessions running:-
IIS --> HyperServer --> UniGUI application
If the application crashes in session 1, will the remaining 2 sessions crash as well?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1552)
-
Have you tried clearing the browser's cache?
-
11 hours ago, Roberto Nicchi said:
Thanks. I was using the TuniURLframe until today but i have changed because for some reason (using the Edge browser) some reports are visualized completly blank. The pages are created but no text or anything else is visible inside. The TUniPDFFrame doesn't have this problem but have others ...
You could try using TUniURLFrame with another web browser to see if the same problem with blank pages occurs. I sometimes do get blank pages but ultimately, it had something to do with my queries or coding.
-
1 hour ago, Roberto Nicchi said:
I see the exact same problem in 1.90.0.1551 with my application and with the demo app provided by Frederick
Do you have a fix for this ? It' not a secondary problem...
thanks
I do not have a fix for this as technical support did not provide a solution. I think that TUniPDFFrame is based on PDF.Js, a third-party solution, and there could be some coding issues with it.
Currently, I use TUniURLFrame and the extra page does not appear. Maybe it is based on the web browser's internal engine and this problem does not occur.
I like TUniPDFFrame but I could not wait.
-
I suppose that this is the only way.
Thanks.
-
I have a TUniDBGrid with the following properties:-
Web Options | Paged = True
Web Options | Page Size = 25There is code in the OnColumnSummaryResult event that displays the total of a column.
If there are 26 records, I get two pages but the column summary is displayed twice in each page with totals of the column pertaining to that page's records.
How do I get the column summary to only display in the last page with a total of all the records in all pages?
--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1551)
-
2 hours ago, mhmda said:
Lately I created a thread for learning Unigui in depth and it will include a section just for that: using Extjs code (js) in unigui 🙂
Thank you for the information. I'll look it up.
-
1 hour ago, mazluta said:
did you learn Ext.JS?
if so, how?
I never learnt it. I just depended on the assistance provided by peers and technical support here whenever I have a question or encountered a problem. It's all copy and paste.
-
4 hours ago, mazluta said:
well Frederick, did you get any HELP?
Do you have any idea where to start?
I did not get help on a general basis but if you have a specified problem or request, post your question here and you should get help for it. Alternatively, you could search the forums.
Based on the forum messages, UniGUI requires the use of JS code for quite a number of functions and if you do not know JS (like me) and without the assistance of technical support here, it may be a problem using it.
-
3 hours ago, Fred Montier said:
After all option excluded, set your account to work with less secure app. At GMail (smtp.gmail.com), that is really a issue. Not sure about smtp.googlemail.com.
Using Indy works just fine.
Thank you for the confirmation.
-
13 hours ago, irigsoft said:
Check in openssl documentations .
I'll leave the reading of the OpenSSL documentation to security enthusiasts 🙂. Us mere mortals need only know that we can use the Indy components in a secure environment as long as the two SSL DLL files are copied to the same directory as the application.
Hide Parameter
in General
Posted
Unfortunately, both options do not provide the intended result.
The first one, 'window.open("https://www.google.com","_self"); f.submit();' , displays Google's web page in the same tab as the application AND displays the new URL in a new tab.
The second option, 'window.open("?","_self"); f.submit();', relaunches my application in the same tab.
This situation is unique because the JS code that Sherzod provided calls a URL and passes parameters to it. The examples provided in the above search link do not show how this can be done.