Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6611537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:58:56+00:00 2026-05-25T19:58:56+00:00

I have to give user an email which will contain a link . After

  • 0

I have to give user an email which will contain a link . After clicking on that link user will be redirected to login page first and then to that link to see the comment . My problem is that I don’t want to display that ids in URL when user click email link only email id will be displayed in url and rest of ids should in session
this is form

session_start();
$usr=getparams("usr");
$hoss_id=getparams("hoss_id");
$redirect_to_comment=getparams("hotpressContainer");
$_SESSION['hoss_id'] = $hoss_id;
$_SESSION['hotpressContainer'] = $redirect_to_comment;
$select="select email from members where mem_id='$usr'";
$email_id=firesql($select,'get');

if(isset($email_id)){
    $email = $email_id->email;

}else{
        $email = "";      
}

<table width="100%" border="0" cellpadding="0" align="center" cellspacing="0" style="border:1px solid #FFFFFF; *width:98%; ">

  <tr>
    <td class="main-text" align="center" >
    <table width="40%" border="0" cellpadding="3" cellspacing="3" align="center" class="body">
              <form action="index.php" method="post" name="loginform" onsubmit="return validate()">
              <tr>
                <td width="41%">&nbsp;</td>
                <td width="59%">&nbsp;</td>
              </tr>
              <tr>
                <td>Email</td>
                <td><input type="text" name="email" size="30" class="iptext" value="'.$email.'"></td>
              </tr>
              <tr>
                <td>Password</td>
                <td><input type="password" name="password" size="30" class="iptext"></td>
              </tr>
              <tr>
                <td></td>
                <td><input name="submit" type="submit" class="submit" value="Continue "></td>
              </tr>
              <tr>
                <td><input type="hidden" name="referer" value="'.$_SESSION['referer'].'">
                   <input type="hidden" name="pg" value="login" />
                     <input type="hidden" name="d" value="done" />

                </td>
                <td><p><a href="index.php?pg=fp">Forgot Password?</a></p>
                  </td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><a href="index.php?pg=register">Join Now</a></td>
              </tr>
        </form>
     </table>
    </td>
  </tr>
</table>

and on submitting the form user will be redirect to that user my questions are
when I register that varibles in session (in login page ABOVE CODE) that values are not catched in that page where I want to redirect ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:58:57+00:00Added an answer on May 25, 2026 at 7:58 pm

    how to store the variables in session to transfer it to another page?

    Assign them to $_SESSION array.

    values are not catched in that page where I want to redirect ?

    do you have session_start() on that page?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page upon which a user can choose up to many different
I have a tree control and I want to give the user the ability
i have a wordpress blog and want to give people the same user experience
I have to give a general note to some huge Java project for which
I have a listbox in which i have to give minimum 2 files for
We have a whole bunch of DLLs that give us access to our database
i have created a workflow activity that do give the item creater of a
I have a table that contains tasks and I want to give these an
i have the following code, which is supposed to give specific functionality but it
I have an application in which I need to send an email which contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.