if (FALSE) {
# an empty call is sufficient if the session is current,
# but will break if haven't been logged in before
session_renew()
# include a password if session may be expired
session_renew('newpass')
# optionally confirm the value of the current username
session_renew(username='olduser@usgs.gov', 'newpass')
}
Run the code above in your browser using DataLab