CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    1

    Lightbulb ny other way of passing values

    hello all,
    i hav just got in touch with AJAX. I use ASP.NET
    i hav a query..
    Is ther any other way of passing values to aspx pages other than to make a querystring..

    also 1 more thing..
    How do i maintain session states with ASPX and AJAX pages..

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Re: ny other way of passing values

    Q1: You can store whatever you want in Session Variables instead of using the querystring

    Q2: Session State is handled automatically by ASP.NET the same was as always, Having AJAX App only adds the "luxury" of using the XmlHttpRequest object to transfer data. It has no differences with Session states.

    hth,
    mcm
    rate my posts!
    mcm

  3. #3
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: ny other way of passing values

    Having AJAX App only adds the "luxury" of using the XmlHttpRequest object to transfer data.
    Actually you always could use this technique [I was doing in back in 2002], AJAX is a library that makes it much simpler.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  4. #4
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Re: ny other way of passing values

    yes all thats changed is now it has a fancy name!
    mcm
    rate my posts!
    mcm

  5. #5
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: ny other way of passing values

    Quote Originally Posted by mcmcom
    yes all thats changed is now it has a fancy name!
    mcm
    And something like 300K lines of code......
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured