|
|
 |
RE: FN-FORUM: Querystring
date posted 16th January 2006 17:55
Sam
It does that was how I did it.
Now trying to find how to check if a value is already in the array. Got
loads of .net solutions but not one for classic asp. Will find it though.
Thanks and I think I owe you a beer or two.
Dave
David J MacKillican
http://www.djmwebservices.com your business open 24 hours
Telephone: 01249 701194
Mobile: 07973194834
Facsimile: 01249 713501
The information contained in or attached to this email is intended only for
the use of the individual or entity to which it is addressed. If you are not
the intended recipient, or a person responsible for delivering it to the
intended recipient, you are not authorised to and must not disclose, copy,
distribute, or retain this message or any part of it. It may contain
information which is confidential and/or covered by legal professional or
other privilege (or other rules or laws with similar effect in jurisdictions
outside England and Wales).
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of Sam Morgan
Sent: 16 January 2006 18:20
To: FN-FORUM / [EMAIL REMOVED]
Subject: RE: FN-FORUM: Querystring
You can separate the values for example
.asp?r=145,123,124,123,145
(note the commas need urlencoding using server.urlencode(""))
Then simply write r to your session("mysession") = request.quesrystring("r")
Then to break out the values.
Untested but should work.
Regards
Sam Morgan
WiredEyes / WebClickGo
tel (Uk): +44 (0)20 7100 2178 / tel (Italy): +39 070 766 242
fax (uk): 0871 433 2278 / fax (Italy): 070 330 9939
web : www.wiredeyes.com / www.webclickgo.com
----
umop ap!sdn w,! aw dlaH
> -----Original Message-----
> From: [EMAIL REMOVED] [EMAIL REMOVED] On
> Behalf Of David J MacKillican
> Sent: 16 January 2006 18:57
> To: FN-FORUM / [EMAIL REMOVED]
> Subject: RE: FN-FORUM: Querystring
>
>
> Sam
>
> You are one of those who I can regard as my guru, not being
> patronising, I
> don't ask for help very often!
>
> I am doing this with a session variable to avoid the danger of having
> cookies switched of, thus keeping the server in control as it were.
>
> Do you, or anyone reading this, know how to pass multiple
> values for one
> querystring. The value 'r' in the script will have more
> (unlimited) values
> in it.
>
> Dave
>
> David J MacKillican
>
> http://www.djmwebservices.com your business open 24 hours
>
>
>
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
>
--
Freelancers, contractors earn more with Prosperity4
Call 0870 870 4414 or visit www.prosperity4.com
and benefit from Inland Revenue approved expenses today.
To advertise here: http://www.freelancers.net/advertising.html
|
 |
|