M
middletree
OK, I'm not a newbie, but I have only used Get method, never used Post or
Session variables. I have used hidden fields to pass data from one page to
the next, and it has worked fine. However, I have a situation where I will
need to use querystrings in an Intranet app (to have a clickable link in an
email which will be sent).
So I posted a question about querystrings last week, and think I get it, but
I don't want to have to change my other ASP pages which could also direct
the user to this one page. So I was thinking about keep those pages the
same, and then putting this pseudo code in the targeted page:
If (querystring <> "" then
strVariablename = Request.querystring (whatever)
Else
strVariablename = Request.Form(whatever)
End if
So the page could be usable if it were
http://intranet/ShowAllInfo.asp
or
http://intranet/ShowAllInfo.asp?Ticket=111
Will such a mixed environment work?
Session variables. I have used hidden fields to pass data from one page to
the next, and it has worked fine. However, I have a situation where I will
need to use querystrings in an Intranet app (to have a clickable link in an
email which will be sent).
So I posted a question about querystrings last week, and think I get it, but
I don't want to have to change my other ASP pages which could also direct
the user to this one page. So I was thinking about keep those pages the
same, and then putting this pseudo code in the targeted page:
If (querystring <> "" then
strVariablename = Request.querystring (whatever)
Else
strVariablename = Request.Form(whatever)
End if
So the page could be usable if it were
http://intranet/ShowAllInfo.asp
or
http://intranet/ShowAllInfo.asp?Ticket=111
Will such a mixed environment work?