This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!

Swastik Dey

Rancher
+ Follow
since Jan 08, 2009
Swastik likes ...
Android Eclipse IDE Java Java ME
Forum Moderator
Swastik Dey currently moderates these forums:
Kolkata, West Bengal, India
Cows and Likes
Cows
Total received
15
In last 30 days
0
Total given
0
Likes
Total received
152
Received in last 30 days
7
Total given
13
Given in last 30 days
7
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Swastik Dey

To be honest I am mainly into java and don't know much about c#.  But the logic should be somewhat like search for the position of the string and remove from there till the length of the string.

1 day ago
Can you try printing the elements of the array using a loop and see what it prints.
1 day ago
Yes that's why for a++b you are getting output as a=;=;b; because the array is now somewhat like {a,' ',b}

What are you doing in this line?

 it seems to be adding an extra space.
1 day ago
If you take a++b as an example.



Can you check the length of variables array?

i.e. value of variables.Length
1 day ago
The output you are getting seems to because of any array element is a space. for a++b the length should be 2.  Print the length of that array and see what length are you getting.
1 day ago


What value are you getting in variables array after execution of the above line?
1 day ago
Do you mean except the arithmetic operators (+,-,*./) and operands it will take out everything from the given string?  To add more to this are you looking for bodmas evaluation?
1 day ago
 So what is the expected output for this expression?
1 day ago
I am not sure, how they are doing it.  Different people can have different approaches.  One strategy could be add another field in your users table as PASSWORD_UPDATED boolean.  When the user registers for the first time mark it as false.  Once the user updates his/her password mark it as true.  If the user again tries to reset password you check that password_updated field is true you won't allow to update.  Set it false again only when you are sending another mail to reset password.

This is just my thought, there might be better approaches.
1 day ago
JSP

Gayathri Gayu wrote:As the forgot password ask the user to register their mail id and it will check in the data base. If the user found it will send a link to rest password.



So what's the problem here?  Validate the user, if valid send the link.
1 day ago
JSP
And does the login link work?
1 day ago
JSP
Login should be allowed as many as times user wants.  What about the output of the code?
1 day ago
JSP
Try with own email and see what you are getting, and why do you want login page link accessible only once?
1 day ago
JSP
Append the link with the message that you are sending.
1 day ago
JSP
Absolute path of your page, right?
1 day ago
JSP