Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,367
» Latest member: natshawatson
» Forum threads: 1,733
» Forum posts: 8,705

Full Statistics

Online Users
There are currently 57 online users.
» 2 Member(s) | 52 Guest(s)
Applebot, Bing, Google, Rolphy Reyes, staff@ergosoft.it

Latest Threads
cookies and restart sessi...
Forum: IntraWeb General Discussion
Last Post: staff@ergosoft.it
7 hours ago
» Replies: 0
» Views: 22
Atozed and IntraWeb statu...
Forum: IntraWeb General Discussion
Last Post: DanBarclay
Today, 01:19 AM
» Replies: 6
» Views: 422
Let's Encrypt error
Forum: IntraWeb General Discussion
Last Post: troberts
Yesterday, 07:31 AM
» Replies: 13
» Views: 1,474
How to use that ?
Forum: IntraWeb General Discussion
Last Post: softdev85
09-25-2022, 07:16 AM
» Replies: 0
» Views: 56
Accessing the IntraWeb Se...
Forum: IntraWeb General Discussion
Last Post: I.Igor
09-24-2022, 09:51 AM
» Replies: 4
» Views: 288
Showing pdf files in andr...
Forum: IntraWeb General Discussion
Last Post: softdev85
09-24-2022, 09:11 AM
» Replies: 0
» Views: 41
Indy 10 for 2007
Forum: Indy General Discussion
Last Post: rlebeau
09-23-2022, 05:43 PM
» Replies: 4
» Views: 2,876
IOS Safari camera access
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-23-2022, 11:46 AM
» Replies: 3
» Views: 372
Message after close remot...
Forum: IntraWeb General Discussion
Last Post: staff@ergosoft.it
09-23-2022, 06:42 AM
» Replies: 2
» Views: 130
Delphi code not executing...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-22-2022, 06:36 AM
» Replies: 2
» Views: 191

 
  cookies and restart session in a different browser tab
Posted by: staff@ergosoft.it - 7 hours ago - Forum: IntraWeb General Discussion - No Replies

Hi,

in my application I have to use cookies (Servercontroller.cookieoptions.useCoolkies: = True)

... I need that if a user opens the same app in a different browser tab to start with a new session (instead of using the current one)

how can I do ?

a solution I found is to detach the cookies ... but unfortunately I need it for other reasons

thanks
Alessandro Romano

Print this item

  How to use that ?
Posted by: softdev85 - 09-25-2022, 07:16 AM - Forum: IntraWeb General Discussion - No Replies

hello,
how to use that in intraweb ?
can you explain ?
best regards.

IW.Browser.Browser,
  IW.Browser.Android,
  IW.Browser.Chrome,
  IW.Browser.ChromeMobile,
  IW.Browser.Edge,
  IW.Browser.Firefox,
  IW.Browser.FirefoxMobile,
  IW.Browser.InternetExplorer,
  IW.Browser.Opera,
  IW.Browser.OperaMobile,
  IW.Browser.OperaNext,
  IW.Browser.Other,
  IW.Browser.Safari,
  IW.Browser.SafariMobile,
  IW.Browser.Webkit,

Print this item

  Showing pdf files in android or ios
Posted by: softdev85 - 09-24-2022, 09:11 AM - Forum: IntraWeb General Discussion - No Replies

hello,
i have intraweb application that show pdf files,
when i use on windows navigator no problem
but when i use on mobile phone or tablette , android or apple i have code 404 file not found

have you any explaination ?
best regards

my code:


procedure TFormToto.Prog1;
Var
  rep Confusedtring;
  fichier : string;
  HRef: string;
 
begin

    rep := 'Toto\';
    fichier := 'toto.pdf';
    FPath := TIWAppInfo.GetAppPath + 'Toto\' + rep + fichier;
    HRef := TIWAppCache.AddFileToCache(WebApplication, FPath, MIME_PDF);
 
      with IWModalWindow1 do begin
        Reset;
        Autosize := False;
        Title := 'life of toto ' + Mois;
        Draggable := False;
        WindowWidth := 95;
        WindowHeight := 95;
       Src := HRef;
        OnAsyncClick := nil;
        Show;
      end;
     
end;

Print this item

  Message after close remote session
Posted by: staff@ergosoft.it - 09-21-2022, 04:34 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

I need to limit sessions for my IWApplication

I have two sessions A and B ... from session B I want to close session A

I found this procedure from a previous thread that seems to work correctly:

//**********************************************************************
procedure TFMain.TerminateSession(const AAppId: string);
var
  lApp: TIWApplication;
  lExpired, lLocked: Boolean;
begin
  lApp := gSessions.LookupAndLock(AAppId, lExpired, lLocked);
  if Assigned(lApp) and not lExpired then
  begin
    try

      lApp.Terminate('Sessione Terminata !');
    finally
      lApp.Unlock;
    end;
  end;
end;

//*********************************************************************

I need to communicate a message to the user of session A


if they are in the main form the message included as a parameter seems to work

if the user is in a window inside my app I get an intraweb (404) error message (?)

how can i solve?

thanks
Alessandro Romano

Print this item

  Delphi code not executing when called from Javascript on Chrome, Edge 15.2.36
Posted by: defaultuser - 09-20-2022, 08:36 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

We have code that after clicking a link with parameters, the user is directed to javascript code that redirects them to their already open instance of the Delphi project, updated with parameters from the link they clicked on. However, after stepping into the code that calls the Delphi function and inspecting the res variable it is null, and I am not able to trace it into Delphi. Below is a sample of the Javascript code.


Code:
function pageInit() {
var res;
   getURLParameters();
   if ( (acctnbr == "") || (reqid == "") ) {
      alert('No account number or request id was passed in from dummy software. Account=' + acctnbr + ' Request ID=' + reqid);
   } else {
      try {
         win1 = window.open("", "ApplicationName", "");
         res = win1.functionwithinDelphi(acctnbr, reqid);
         if (res == true) {
            win1.focus(); }
      } catch (ex) {
         // If error is that object doesn't support property or method,
         // then user is probably not logged into application.
         if ( (ex.message.indexOf("annot find submit co") > -1) ||  (ex.message.indexOf("is null or not an object") > -1) ) {
            alert('Application not on main page.  Please correct and try again.');
         } else {
            alert('An error occurred: ' + ex.message + ' Please restart application and then try again.');
         }
      }
   }
on the 'res = win1.functionwithinDelphi(acctnbr, reqid);' line is where the Delphi code is to executed, however, it does not work on Chrome or Edge. Is there a workaround for this? 

Print this item

  Atozed and IntraWeb status
Posted by: MJS@mjs.us - 09-15-2022, 05:11 PM - Forum: IntraWeb General Discussion - Replies (6)

Just checking on the status of Atozed and IW.  I noticed the reduced activity of all the support forums lately (and did see a recent podcast peripherally related to Atozed).  I'm concerned whether there'll be future development for IW and what customers like myself will do if the product is abandoned.


Regards,
Mark

Print this item

  Accessing the IntraWeb Server from Mobile Applications
Posted by: I.Igor - 09-14-2022, 08:13 AM - Forum: IntraWeb General Discussion - Replies (4)

We have an IntraWeb (Indy) application serving our clients through browsers. Is there any way to use IntraWeb Server from within this app to access it from mobile apps? For example, to access DBMS data available from the Intraweb server.

Print this item

  IW and Apache
Posted by: troberts - 09-14-2022, 06:45 AM - Forum: IntraWeb General Discussion - No Replies

Hi,

I have previously used Apache to handle multiple websites running on different ports as described here https://www.atozed.com/forums/thread-1348.html

This has worked well and can be used even when one or more of the web servers are running on a different machine. It means I can have one SSL certificate (which is used by Apache) and multiple websites (which can be on the same machine or on different machines).

I have thought about using http.sys but I don't think I would be able to achieve the same outcome (multiple websites, multiple machines, one SSL certificate, one instance of Apache). Hence I have stuck with the setup described in the linked post.

I have also read this page: http://docs.atozed.com/docs.dll/deployme...Proxy.html

I have never found it necessary to assign a value to RewriteURL in the Config event as described on this page, but I agree with everything else.

However I have come across a problem with a project I am currently working on using D11.1 and IW15.2.65. I cannot get the website to work correctly when deployed using Apache. The home page of the site displays initially when browsing to it using the domain name but it does not work. It does not respond to any mouse clicks at all. The application does work as expected if accessed locally on the server machine.

Can anyone confirm if it is still possible to use Apache as a reverse proxy with the current versions of Delphi and IW?

Print this item

  hide the parameters in the browser
Posted by: staff@ergosoft.it - 09-09-2022, 02:58 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi,

I have 2 sites with intraweb ... I want to exchange some variables between the due ones...

I currently use from site 1 sending the variables through (esamples)


Webapplication.TerminateAndRedirect('https://www.site1.com?MyVar1=123&myvar2=ABC', False)

In site 2 I receive the variables with

HTTPDecode(WebApplication.RunParams.Values['MyVar1'])

I need to hide this data from the end user (in browser).

I use IntraWeb 15.

how can I do ?

thanks
Alessandro Romano

Print this item

  upgrade project from version 10 to version 15
Posted by: fcodebue - 09-07-2022, 09:14 AM - Forum: IntraWeb General Discussion - No Replies

Sorry for a so silly question....
I just acquire source froma new customer with a project of an ISAPI dll developed with Intraweb 10. 
We need to migrate to Atozed 15, do you have some advices or guide to do it

thanks in advance

Fabio Codebue

Print this item