Need help Redirect From Login Page

Author Message
rganesan

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 10/22/2009
  • Status: offline
Need help Redirect From Login Page Thursday, October 22, 2009 5:36 PM (permalink)
0
Hi,

I am using Classic Asp and VBscript.

I use session time out to check if the user is authenticated.
If Session("Authenticated") = 0 Then
Response.Redirect ("Login.asp")

The Login Page redirect the user to Mypage1.asp
Session("Authenticated") = 1
Session.Timeout = 10
Response.Redirect ("Mypage1.asp")


Now when i am in Mypage2.asp and the session time out occurs i get redirected to the login page.

My problem is

When i LOGIN (after Session Timeout) i need to redirected to where i was , say Mypage2.asp?num1=10?month=october

Can somebody help me with this please.
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9