Retrieving Information from a URL

Discussion in 'ASP .Net' started by Dave Harrington, Nov 2, 2005.

  1. Hello All -

    I'm trying to accomplish something pretty easy but I'm stuck.

    I'm trying to set up e-mail based authentication. When a user is added to
    the DB I've created, they're e-mailed a URL with a confirmation number in
    it, something like:

    http://www.mywebsite.com/confirm.aspx?conf=877650

    When they go to the page confirm.aspx, I'd like to be able to pull "877650"
    out of the URL and have their information display from that record in a db.

    How can I do this???


    Thanks!!!

    Dave
     
    Dave Harrington, Nov 2, 2005
    #1
    1. Advertising

  2. Request.QueryString("conf")

    --
    Curt Christianson
    site: http://www.darkfalz.com
    blog: http://blog.darkfalz.com



    "Dave Harrington" wrote:

    > Hello All -
    >
    > I'm trying to accomplish something pretty easy but I'm stuck.
    >
    > I'm trying to set up e-mail based authentication. When a user is added to
    > the DB I've created, they're e-mailed a URL with a confirmation number in
    > it, something like:
    >
    > http://www.mywebsite.com/confirm.aspx?conf=877650
    >
    > When they go to the page confirm.aspx, I'd like to be able to pull "877650"
    > out of the URL and have their information display from that record in a db.
    >
    > How can I do this???
    >
    >
    > Thanks!!!
    >
    > Dave
    >
    >
    >
     
    =?Utf-8?B?Q3VydF9DIFtNVlBd?=, Nov 2, 2005
    #2
    1. Advertising

  3. Adding to Curt's advice you can also make use of session or make use of the
    context collection e.g at :-
    http://aspnet101.com/aspnet101/tutorials.aspx?id=20
    Hope that helps
    Patrick

    "Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
    news:...
    > Request.QueryString("conf")
    >
    > --
    > Curt Christianson
    > site: http://www.darkfalz.com
    > blog: http://blog.darkfalz.com
    >
    >
    >
    > "Dave Harrington" wrote:
    >
    > > Hello All -
    > >
    > > I'm trying to accomplish something pretty easy but I'm stuck.
    > >
    > > I'm trying to set up e-mail based authentication. When a user is added

    to
    > > the DB I've created, they're e-mailed a URL with a confirmation number

    in
    > > it, something like:
    > >
    > > http://www.mywebsite.com/confirm.aspx?conf=877650
    > >
    > > When they go to the page confirm.aspx, I'd like to be able to pull

    "877650"
    > > out of the URL and have their information display from that record in a

    db.
    > >
    > > How can I do this???
    > >
    > >
    > > Thanks!!!
    > >
    > > Dave
    > >
    > >
    > >
     
    Patrick.O.Ige, Nov 3, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob
    Replies:
    2
    Views:
    4,380
  2. Boban Dragojlovic
    Replies:
    2
    Views:
    476
    Patrice
    Apr 19, 2004
  3. =?Utf-8?B?SWFuIFdpbGxpYW1zb24=?=

    Retrieving state information from a middle tier

    =?Utf-8?B?SWFuIFdpbGxpYW1zb24=?=, Feb 25, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    1,269
    =?Utf-8?B?aW5ldG11Zw==?=
    Feb 25, 2005
  4. =?Utf-8?B?ZG90bmV0dGVzdGVy?=

    Retrieving mailbox information through ADSI

    =?Utf-8?B?ZG90bmV0dGVzdGVy?=, Aug 31, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    425
    =?Utf-8?B?ZG90bmV0dGVzdGVy?=
    Aug 31, 2005
  5. =?Utf-8?B?Sm9l?=

    Re: Retrieving Image information

    =?Utf-8?B?Sm9l?=, Sep 20, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    427
    Bruce Barker
    Sep 21, 2005
Loading...

Share This Page