Jump to content

Search the Community

Showing results for tags 'parameters'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. Hello, I have a UniGUI application with a loginform with username/password credentials. Now, I would like to make it possible as with most webapplications, when you click on a button 'Forgot password' you can enter your emailaddress, you get an email with a link and once you click on that link you can set a new password. Does anyone have an idea how I could do this. I guess I have to generate a unique identifier as link and mail this to the user. This should be no problem, but how do I send this unique identifier back to the UniGUI-application to check that it is OK to set the new password ? With parameters ? Is this the way or is there a better way ?
  2. ***EDIT*** Answered my own question below, but left here in case it helps anyone else. Hi All, I have a situation where on some occasions I pass in two parameters to the application, lets say encrypted username and password. I have code in UniGUIMainModuleBeforeLogin which handles skipping the login screen if these parameters are passed in. I use this functionality if a user needs to be directly routed to the application without seeing the login screen. It works great. However, my problem occurs when I want to logout, I call "ModalResult := MrOK" on my main form and this logs me out, but the original parameters are still there and thus I am logged back in, skipping the login form. Except in the case of logging out I want login form shown. Is there anywhere I can clear the parameters? This would then allow the function in UniGUIMainModuleBeforeLogin to fail as the parameters would be empty. Alternatively could I redirect to a parameter-less URL. I have tried URLRedirects and trying to clear the parameters - but no luck. Does anyone have any ideas how I might achieve the result I need?
  3. help with this topic I have a page loaded in a urlframe and at the end of that page returns a url with parameters as access to the parameter data that are inside the urlframe.
  4. I need to make one client send parameters, and others read them. I do not understand how to do this. Here is an example: in browser i sent "demo:1234@192.168.xxx.1:8077/?luxs=46&onoff=0" procedure TMainForm.UniTimer1Timer(Sender: TObject); begin if UniApplication.Parameters.Values['luxs']<>'' then lux1:=strtoint(UniApplication.Parameters.Values['luxs']); UniProgressBar1.Position:= lux1; end; It's work fine for client who sent it. But not for all client sessions. Trying to do an analysis leads to exception: procedure TUniServerModule.UniGUIServerModuleHTTPCommand( ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var Handled: Boolean); begin if ARequestInfo.AuthExists and (ARequestInfo.AuthPassword='1234') and (ARequestInfo.AuthUsername='demo') then begin if ARequestInfo.Params.Values['luxs']<>'' then MainForm.lux1:=strtoint(ARequestInfo.Params.Values['luxs']); Exit; // Authentication is successful end else begin AResponseInfo.AuthRealm := 'Enter credentials for ' + Title; handled:=True; end; end; If you have simple code examples, please write them in this thread/ Thank u!
  5. Hi Pals: Does anyone knows a way to upload a file using URL parameters in a post message? Because UniGui StandAlone and Service mode use Indy, is possible to upload a file using multipart/form-data in a post message, but on ISAPI mode I don't know how to do that, session sensitive. There is a ExtJS or UniGui way to do that? Thanks in advance and Best Regards
×
×
  • Create New...