Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetSession return codes

Status
Not open for further replies.

ShortyA

MIS
Feb 20, 2002
363
CH
Hi,
I am using CE9 and have been trying to change the logon error messages that are returned when an unknown logonid, invalid password etc are used.

In the LogonForm.CSP the following line seems to retrieve the error message:
strErrMessage = GetSession("ErrMessage");

I have looked in the CE Web Dev documentation on GetSession to find out more but not luck. Does anyone have any advice on how to customise the messages that are returned or an alternative way or fixing the error message that is displayed ?
Thanks - Alec
 
GetSession is defined in helper_js.csp, but it doesn't do any more than return a value from the Session object. That also is not well explained in the SDK documentation. At least I didn't see the ErrMessage item mentioned. From what I do see, however, you would need to modify GetSession in some way to convert the error messages as you encounter them to more meaningful text.
 
Check in check_session.jsp file. You may get some idea. But its a bit strange though. It worked for me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top