CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TIWCGJQEdit for login screen?

by cpstevenc » 30 Apr 2019 17:05

Greetings... Finally got CGDevTools registered.

Playing around with Tokyo 10.2.3 and IW 14.2.10 using CG 4.1.0.180

Trying to retro fit a screen on an existing IW app to have a login screen.
For past 10 yrs a program would send user to it, with user/password embedded into the URL.. ( not my choice )

Now they want a traditional-ish login.. user/password.. nothing fancy.

TIWCGJQEdit is what I am using for the inputs. Since wanted to start using controls slowly.

I hate to ask.. as couldn't find anything in search that helped...

Is there anyway to use cookies to make it store these values like other websites? Go back to the login page and user/password
already stored until they clear history?

From what I can tell, this isn't exactly a cookie thing to get the browser to prompt to save credentials .. which would then restore them.
cpstevenc
 
Posts: 9
Joined: 05 Dec 2018 05:24

by loufeliz » 03 May 2019 08:08

You just need to handle the cookies in your code.

First time user is succesful, just save cookie with value. When form loads, retrieve cookie value if found.

See thread on AtoZed web support. https://www.atozed.com/forums/showthread.php?tid=1041
loufeliz
 
Posts: 61
Joined: 01 Dec 2012 04:39

by cpstevenc » 09 May 2019 20:27

loufeliz wrote:You just need to handle the cookies in your code.

First time user is succesful, just save cookie with value. When form loads, retrieve cookie value if found.

See thread on AtoZed web support. https://www.atozed.com/forums/showthread.php?tid=1041


Ha link was my post :)

Never got alerts.

I ended up getting it to work.. was the UTC date that was my issues in the end.

I was thinking the JQ stuff had built in cookie support but it all works now ...
cpstevenc
 
Posts: 9
Joined: 05 Dec 2018 05:24


Return to JQEdit

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.