it contains some ids which client does not want to show.
I am also facing another problem, Since it is related to first problem, i am posting here itself.
in the email link,
Code: Select all
<a href='mysite.com/process_page.php?process=accept&id=10'>
if the user has not logged in it will be redirected to index page. On entering his username and password, he will be directed to the appropriate page.
There will be different urls which the clients will be receiving and on each type different page and process changes.
I tried to store the pagename and id in sessions.
For example, in process.php
Code: Select all
$id=$_GET['id'];
$_SESSION['form_email']=array('process.php', $id);
below this, i am checking for valid users. Then it will be directed to index.php
In the index.php,
Code: Select all
$from_email=$_SESSION['form_email'];
when the username and password is validated and if it is true,
Code: Select all
if(!empty($from_email))
$cls_obj->Redirect("$from_email[0]");
else
$cls_obj->Redirect("homepage.php);
The problem is, when it goes to process.php, the id gets lost.
Another thing is, if the user has the option of directly entring the site and click the url. So,
is also used for that purpose also.
Is there any easier way of doing it?