Results 1 to 14 of 14

Thread: How to store without using sessions, cookies or any database

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Answers
    1

    How to store without using sessions, cookies or any database

    How can the data in different asp pages can be stored with out using sessions, cookies or any database.for eg like naukri registration where different pages have different fields for registration process and data storage is done only after submitting the last page. However you can revert back to edit data. I was asked this question in a recent interview.Can any one let me know how this can be done?


  2. #2
    Junior Member
    Join Date
    Oct 2007
    Answers
    1

    Re: How to store without using sessions, cookies or any database

    Hi,
    You can use hidden field to store your data.

    ....Jitendra


  3. #3

    Re: How to store without using sessions, cookies or any database

    hi,
    u can use query string


  4. #4
    Junior Member
    Join Date
    Sep 2007
    Answers
    1

    Re: How to store without using sessions, cookies or any database

    Quote Originally Posted by mailtokarthik24 View Post
    hi,
    u can use query string
    but query strings have a length limitation rt?
    it wont help us to store multi step data such as naukri


  5. #5
    Junior Member
    Join Date
    Sep 2006
    Answers
    9

    Re: How to store without using sessions, cookies or any database

    hidden fields are the best, when navigating to and from a page, use the mechanism of parsing and de-parsing of the content of that page using some vbscript coding.
    Thiks kind of situtation would generally occur in a few contigeous pages, not more... hope so !



  6. #6
    Junior Member
    Join Date
    Jun 2007
    Answers
    5

    Re: How to store without using sessions, cookies or any database

    my guess would be use "URL Rewriting"


  7. #7
    Junior Member
    Join Date
    Sep 2007
    Answers
    1

    Smile Re: How to store without using sessions, cookies or any database

    By append in query string.


  8. #8
    Junior Member
    Join Date
    Jun 2007
    Answers
    5

    Re: How to store without using sessions, cookies or any database

    isn't URL Rewriting and appending to query string the same?


  9. #9
    Junior Member
    Join Date
    Sep 2007
    Answers
    15

    Re: How to store without using sessions, cookies or any database

    Use ViewState ... How and why find out by yourself ... and check out the Wizard component ...


  10. #10
    Junior Member
    Join Date
    Sep 2007
    Answers
    15

    Re: How to store without using sessions, cookies or any database

    Every control has by def EnabledViewState = true ... it`s preservs it`s value during navigation throug the site


  11. #11

    Re: How to store without using sessions, cookies or any database

    I think history pages will be storing all the information while we r doing online


  12. #12
    Junior Member
    Join Date
    Dec 2007
    Answers
    4

    Re: How to store without using sessions, cookies or any database

    By using ViewState .
    ViewState can be Enabled or disabled
    1 Control property- EnableViewState=true / false
    2 page directive -EnableViewstate = true / false
    So if you want to use viewstate be sure that viewstate is not disabled for control and in page directive


  13. #13
    Junior Member
    Join Date
    Feb 2009
    Answers
    1

    Re: How to store without using sessions, cookies or any database

    i am using a gridview. I have set enableviewstate property to false. During postback RowCommand is not getting fired. What should i do to fire this event.


  14. #14
    Junior Member
    Join Date
    Feb 2009
    Answers
    3

    Re: How to store without using sessions, cookies or any database

    you can store into xml file and finaly into database. hidden fields alterante is view state if you are working in asp.net


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact