The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 7 of 7

Thread: storing "previous URL" into form Hidden field

  1. #1

    storing "previous URL" into form Hidden field

    storing "previous URL" into form Hidden field.

    "Many of my pages are secured only for members..suppose if session expires from page abc.asp ..then page is redirected to common log.asp

    This log.asp file asks for userid & Password and then member moves to main page . Actually i want user to move to his previous page (say abc.asp) where actually he was working.

    I think i am able to explain my problem.



    [i am using asp/vbscript and javascript, Moreover... replies for any language is welcome]


    wat i am trying at present is that....if i am able to store the "previous url" into the hidden field (when userid and password is asked in log.asp). then my codes will work.


    thanks (advance).

  2. #2
    does asp have something like sessions/session variables?

  3. #3
    Yes:
    Code:
    Session("page") = "string"
    Web Design and Web Development blog
    Designer Notice: Browser List for design compatibility

  4. #4
    Couldn't you just get the referring page?
    http://www.webmasterworld.com/forum47/753.htm
    It should work.
    Web Site Design and Stuff....One day I will get it.

  5. #5
    Love you..thanx very much.... Bmoeb


    My Codes are working now...


  6. #6
    Good deal, now I just need to learn asp, .net or whatver it is now.
    Web Site Design and Stuff....One day I will get it.

  7. #7
    ASP.NET is just ASP with a bit more functionality.
    I find PHP nice and easy.
    Web Design and Web Development blog
    Designer Notice: Browser List for design compatibility

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012