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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,525
» Latest member: lc88hncom1
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1223 online users.
» 2 Member(s) | 1218 Guest(s)
Applebot, Bing, Google, Ee88cscom, lc88hncom1

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 125
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 118
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 130
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 416
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 213
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 585
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 203
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,158
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 333
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 942

 
  Timeout response
Posted by: lfeliz - 02-02-2019, 07:10 AM - Forum: IntraWeb General Discussion - Replies (8)

Hello,

I am looking form some info on setting a timeout response.  I in IW 11 it was in server controller, but I have really worried about since then, but now i am looking to implement a nicer error message.  Which Demo for IW 14 or 15 shows this?

Print this item

  GDPR / Cookies warning etc
Posted by: lfeliz - 02-01-2019, 12:53 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello,

Anyone have their IW app warn users about cookies etc... as most site do these day to comply GDPR and the like?      I am thinking that if my website has such a popup and the link to login to my IW app is on that page, it to is covered.  I may just  need to have my login form place a cookie to now it has warned the user about cookies and how my app uses them, just to be safe.

Cheers!

Print this item

  OnAsync Events Help!
Posted by: ShaneStump - 01-28-2019, 07:11 PM - Forum: IntraWeb General Discussion - Replies (4)

Howdy All!

I have been making pretty good progress on V3 of my new web reservations app using Bootstrap. I have run into a few issues I would like to get other's advice / help on:

1) I am using CSS for styling my required input controls. As soon as user does an equivalent of a 'submit' in one of my async events, I check for errors. 

If there is an any errors, I display the formatted errors in a Boostrap Card and I would like to 'add to' the CSS Input styles to show errors more forcefully.

The only way I know to update CSS is by forcing a full submit (and it works well).

Is there away to update a form's extra header from an OnAsync event or is a full page submit the best way?

2) Showing a custom image file when a form get's locked. In my CGDevTools, this was easy with one of their components. Is there an easy equivalency in the standard IW?

Thanks in advance,

Shane

Print this item

  Error: TIWMimeTypes.GetAsString: No extension found.
Posted by: hsbelli - 01-27-2019, 01:43 PM - Forum: IntraWeb General Discussion - No Replies

hi, have a iw 15.0.17 application and i have this error  "TIWMimeTypes.GetAsString: No extension found."
anyone tell me what is the reason of this?..

regards

Print this item

  CustomContentHandlers
Posted by: amit.walters - 01-26-2019, 04:54 AM - Forum: IntraWeb General Discussion - Replies (1)

IntraWeb Version: 15.0.17

I have downloaded demo from https://github.com/Atozed/IntraWeb.
I need C++ code for the  delphi demo CustomContentHandlers.  In my project I need to send xml data to client depending on the parameter they have provided and CustomContentHandlers demo is doing exactly what I want but it is in delphi and I am unable to convert it to C++ code.

I tried but not working it says (404 file not found)
code writen by me
in ServerController.cpp
void __fastcall TIWServerController::IWServerControllerBaseConfig(TObject *Sender)

{
  THandlers::Add("", " GiveMeSomeXML", new  TContentXML());
}

in IW.Content.XML.cpp
 __fastcall  TContentXML :: TContentXML ()
{
}

__fastcall  TContentXML ::~ TContentXML ()
{
}

bool __fastcall  TContentXML ::Execute(Iw::Http::Request::THttpRequest* aRequest, Iw::Http::Reply::THttpReply* aReply, const System::UnicodeString aPathname,
                                          Iwapplication::TIWApplication* aSession, System::Classes::TStrings* aParams)
{
 aReply->ContentType = "text/xml";;
 aReply->WriteString("<xml>My xml content here</xml>");
}

in IW.Content.XML.h

class TContentXML : public Iw::Content::Base::TContentBase
{
private:    // User declarations

public:        // User declarations
   __fastcall virtual  TContentXML ();
   __fastcall  ~ TContentXML (void);

   virtual bool __fastcall Execute(Iw::Http::Request::THttpRequest* aRequest, Iw::Http::Reply::THttpReply* aReply, const System::UnicodeString aPathname, Iwapplication::TIWApplication* aSession, System::Classes::TStrings* aParams);

};

I know I have not converted it properly please help me

Print this item

  CustomContentHandlers Demo code in C++
Posted by: amit.walters - 01-26-2019, 04:48 AM - Forum: IntraWeb General Discussion - No Replies

I Am using IntraWeb Version: 15.0.17

I have downloaded demo from https://github.com/Atozed/IntraWeb.
I need C++ code for the  delphi demo CustomContentHandlers.
In my project I need to send xml data to client depending on the parameter they have provided and CustomContentHandlers demo is doing exactly what I want but it is in delphi and I am unable to convert it to C++ code.

I tried but not working it says (404 file not found)
code writen by me
in ServerController.cpp
void __fastcall TIWServerController::IWServerControllerBaseConfig(TObject *Sender)

{
  THandlers::Add("", " GiveMeSomeXML", new  TContentXML());
}

in IW.Content.XML.cpp
 __fastcall  TContentXML :: TContentXML ()
{
}

__fastcall  TContentXML ::~ TContentXML ()
{
}

bool __fastcall  TContentXML ::Execute(Iw::Http::Request::THttpRequest* aRequest, Iw::Http::Reply::THttpReply* aReply, const System::UnicodeString aPathname,
                                          Iwapplication::TIWApplication* aSession, System::Classes::TStrings* aParams)
{
 aReply->ContentType = "text/xml";;
 aReply->WriteString("<xml>My xml content here</xml>");
}

in IW.Content.XML.h

class TContentXML : public Iw::Content::Base::TContentBase
{
private:    // User declarations

public:        // User declarations
   __fastcall virtual  TContentXML ();
   __fastcall  ~ TContentXML (void);

   virtual bool __fastcall Execute(Iw::Http::Request::THttpRequest* aRequest, Iw::Http::Reply::THttpReply* aReply, const System::UnicodeString aPathname, Iwapplication::TIWApplication* aSession, System::Classes::TStrings* aParams);

};

I know I have not converted it properly please help me

Print this item

  IIS Isapi deployment question
Posted by: joel - 01-26-2019, 02:13 AM - Forum: IntraWeb General Discussion - No Replies

When deploying IW under IIS as an Isapi deployment, does IW use COM in anyway?   I think the answer is no, but I need to verify this for a superior of mine.   

Thanks

Print this item

  2.0.28 with wrong net.mscorlib.dcu
Posted by: akac99 - 01-25-2019, 04:35 PM - Forum: CrossTalk General Discussion - No Replies

Hi,

I tried to install the latest version but now I got an error, that my 
net.mscorlib.pas has the wrong version (2.0.27).

This results come with Rio and Tokyo.

What can I do?
Alex

Print this item

  Crosstalk 2.0.28 with wrong net.mscorlib.dcu?
Posted by: akac99 - 01-25-2019, 04:30 PM - Forum: CrossTalk General Discussion - No Replies

Hi,

I installed the latest Update an now I got this error:

"'Unit net.mscorlib.pas is out of date

In the debugger I can see that the version 2.0.27.

What can I do?
Alex

Print this item

  UserSession and Datasets
Posted by: lfeliz - 01-25-2019, 02:59 PM - Forum: IntraWeb General Discussion - Replies (3)

Hello,

I recall some time in the past a post recommending that when utilizing data sets on user connection that is advised to reconnect the dataset to the db connection used in the usersession.  I no longer put datasets on forms.  I have never had any issue with apps I have developed, though I am always setting the db connection parameters when each session is being created, but leave all of the design time connections in place.  Anyway, I am currently working on app that may have hundreds of users I was just thinking if this was the recommended practice or am I good to keep doing the same as I always have done.

Thanks for listening.

Cheers!

Print this item