| Welcome, Guest |
You have to register before you can post on our site.
|
| 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?
|
|
|
| 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!
|
|
|
| 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
|
|
|
| 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
|
|
|
| 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
|
|
|
| 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!
|
|
|
|