Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

err, yes what?! yes it's possible i guess...

 

Can you provide me with a little more info.....like HOW to do it?

 

Thanks

 

Axum

Posted

err no actually, that's not ALL i asked.... I asked about starting up an ASP.NET project so that the Querystring has parameters actually...so that i can DEBUG it, i obviously know you can get to it by using the URL i entered....Sorry, maybe i was sounding a little TOO basic!! So when i press F5 the QString values are already present...

 

Axum

  • Moderators
Posted

F5 compiles the project, then launches the page. Let's say the IDE is able to include the QueryString, this doesn't help the end-user.

I guess you can use Session variables to verify if it's the first page of the user's session.

Visit...Bassic Software
Posted

I guess this F5 is in IE instead of VS.NET right? in IE F5 mean "Refresh" the page.

 

axum, I can't really understand your question, you need the default querystring parameter in your page? what do you mean debug it?

Posted

crikey, i thought i was being as basic as i could be!!

 

Ok, i have my ASP.NET project, with C# codebehind, i press F5 WITHIN the VS.IDE, this starts everything running, and fires up IE with this URL....http://localhost/testproject/index.aspx

 

Actually, this page, when used by the end user, will ALWAYS have a Querystring parameter attached. So : http://localhost/testproject/index.aspx?id=1 for example.

 

But can i start the project, ie. by pressing F5 WITHIN the IDE, WITH this Querystring parameter already present? So when, in my Page_Load, i can actually do a Request.Querystring["id"], rather than having to hard code one each time...?

 

Is that basic enough a question?

 

Cheers

 

Axum

 

:-)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...