Click here to Skip to main content
15,895,538 members

Comments by Jason Walker (Top 13 by date)

Jason Walker 3-Jan-16 6:13am View    
OK, thanks, watermarking is fine, is there a way to show the image without watermark then if saved to add the water mark?
Jason Walker 2-Jan-16 13:29pm View    
The problem is if they typed that password and we for the rest room and left the laptop open (work environment), then it is a risk, is there a logic view of how to solve this issue!
Jason Walker 24-Dec-15 0:31am View    
What I am trying to say is, instead of redirecting to many pages (using the menu in the master page), i would prefer using tabs (is there a way to make the navigation menu act as tabs in master file) which means, the contents stays in the same page but taken from different pages.
Jason Walker 16-Dec-15 15:41pm View    
Deleted
Thanks, I am having a problem with this. i am trying to assign a session to a field in the table then redirect to page based on that field. Please help!

if (DataReader.HasRows)

{

while (DataReader.Read())
{
var test = DataReader.GetString(5); // gives usermenu
Response.Write(test); // this gives eg. Admin


if (test.ToString() == "Admin")
{

Response.Redirect("~/Admin_Page.aspx");

}
else
{
Response.Redirect("~/Main_Menu.aspx");

}


it should go to Admin page but the form resets and boxes get empty and does't go to either pages (if or else)!

what is the problem with the testing? in the response.write it gets the right information though!
Jason Walker 16-Dec-15 12:48pm View    
Thanks for the tips, I will do that. for the code you provided i get red line under cmd? why is that?