Jump to content

Supress paramater count error in a function (method)


Prismatic

Recommended Posts

I'm making an authenticate method with 3 paramaters, username, password, and cookielife. The third, cookie life, can be left blank, and it will default the life of the cookie to 100 years. The problem is if you leave that out of your method call it will spit out an incorrect paramater count error. Is there a way to supress that? To make it ignore the fact that a paramater is missing from the call?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.