Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
In my application there is Reg page where new user will register. and after reg a mail will sent to the HR(Admin) such as "A new candidate has reg with us for upcoming jobs" Please click here to see his details.
now i want when HR click on click here link then candidate page should open.But in my case every thing is working when HR is cliking on link then on first candidate page is open.
I have to HR mail link(after click on click button):

http://localhost:4294/EmployeeSelfServicePortal/Default.aspx?id=p_bharti007@yahoo.co.in

http://localhost:4294/EmployeeSelfServicePortal/Default.aspx?id=cprabhainfo@gmail,com

in both case p_bharti007@yahoo.co.in candidate info(page) is displaying.
Now How can i allow HR to open right page.
mail is session.
Posted
Comments
Ankur\m/ 29-Jan-11 1:07am    
Put a debugger and check the flow after the query string value is fetched.
c27bharti 29-Jan-11 1:11am    
I have checked it.every thing is ok. mail is also going but when click on the link then first candidate page is displaying.Here is 2 candidate (click here)link. in both case p_bharti007@yahoo.co.in page is displaying.
http://localhost:4294/EmployeeSelfServicePortal/Default.aspx?id=p_bharti007@yahoo.co.in
http://localhost:4294/EmployeeSelfServicePortal/Default.aspx?id=cprabhainfo@gmail.com
Ankur\m/ 29-Jan-11 1:35am    
After the above link is generated, the user clicks on it. Now in the default.aspx page, you may be opening/redirecting to the user info page based on 'id' retrieved in query string. There must be some issue with the logic you are using to do this. If you can't find the issue by debugging, you will have to paste the code here.

1 solution

Hi,
Without code it is difficult to say what can be issue. But I must say check Request.QueryString value then pass it Sql Server query like Select * from tbluser_register where Id='p_bharti007@yahoo.co.in'

There must be query mistake.


Cheers!:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900