Connecting Tech Pros Worldwide Help | Site Map

Why Showing old output and no debugging too?

Newbie
 
Join Date: Apr 2009
Posts: 21
#1: Aug 26 '09
I created a web application that consist of session to save values between pages.Then i create querystring on the same web page and send values on the other web page(I comment session).I run the application,it shows the output of querystring.Now I remove comment of session and add comment to the querystring, i get the old output only(ie. of querystring only).And the application is also not getting debugged.Why is it so?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#2: Aug 27 '09

re: Why Showing old output and no debugging too?


What are you trying to do?

You have a "comment" in Session and you want to pass that information to another page....if that page is in your project then it's pretty simple, just use the value in Session (it's already there anyways) and get rid of the query string confusion that you're having.

If the page is not part of your project, then ....why can't you debug anything?

Please rephrase your question because I cannot follow what you're trying to do.


Also, why can't you debug?
Are you getting any errors?
Newbie
 
Join Date: Apr 2009
Posts: 21
#3: Aug 28 '09

re: Why Showing old output and no debugging too?


Both session and querystring lines are on the same web page.I teach students.I commented session lines.Now i want to see the output through querystring.I get that also.But now i comment lines of querystring and remove comments of session.Then also i get the output of querystring.And it is not getting debugged.I put a breakpoint on the page_load(),but page does not get debugged?
ThatThatGuy's Avatar
Member
 
Join Date: Jul 2009
Location: Mumbai--India
Posts: 39
#4: Aug 28 '09

re: Why Showing old output and no debugging too?


Actually Sarangrao.....I didn't understand, what did you mentioned by commenting session values and then uncommenting Qureystring..and then viewing old values no new values....

What are you just trying to say...don't panic stay cool and ask your question in a better way....

The second thing about debugging is.....

Eitheir you must have not build and Run the project and just right clicked on the open page in VS.net and clicked on View in Browser....
So it wouldn't actually go in debug mode be it any number of breakpoints

And if you're building it and still it doesn't enter in debug mode then
There's this second issue....VS 2005 IDE has this problem of detaching from the debugger after the page is successfully loaded as you see in run mode the pause and stop buttons might nbot be visible...
So to resolve this.... close VS IDE and open the IDE again and reload the project and then try debugging...if this does'nt work then try rebooting your computer....

always remember when you're running your web App on Interner Explorer.
There's always an issue of Page Caching.....means it will use old resources stored in "Temporary Internet Files" Folder and it happens often..
with images ,flash content etc.....
and with controls too....
So when you're running the page and updating simultaneously on the IDE always use this dummy qury string at the end

http://localhost:8888//MyProj/Default.aspx?newPage=100
Newbie
 
Join Date: Apr 2009
Posts: 21
#5: Aug 29 '09

re: Why Showing old output and no debugging too?


First Session was used between pages.Then I commented all the lines of session.Then I used querystring between pages.Then I commented querystring lines also.And removed the comments of session.But then also it was showing querystring output.Why is it so?
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#6: Aug 31 '09

re: Why Showing old output and no debugging too?


We won't be able to help you unless you show us what your code is doing...your application will only show things that you retrieve from the query string if your code retrieves things from the query string....likewise your application will only show things that you retrieve from session if your code retrieve things from session....
Reply