Solved

anchor tags not working

Posted on 2011-09-16
12
286 Views
Last Modified: 2012-05-12
I am using qnchor tags in that and sometime it works and sometime it is not working. I am not getting solution that y it is not working. Plz help me out that what is the problem
0
Comment
Question by:savsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36553266
need more info.. share the live internet link or the code base which is not working
0
 
LVL 31

Expert Comment

by:Marco Gasi
ID: 36553270
Please, post your code.
0
 

Author Comment

by:savsoft
ID: 36553273
We are developing a search engine but some links are not working.....

So just go through it

www.labbo22.com 

and search anything.......... Its working fine with IE but Not with XMPHTTP browser.. plz try and reply
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 40

Expert Comment

by:gurvinder372
ID: 36553290
which links are not working?
0
 

Author Comment

by:savsoft
ID: 36553295
Actually when i get login to my account then searched links are not working...is there any problem with sessions?
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36553345
I am able to click at the search link even in firefox 2.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 36554291
...is there any problem with sessions?

No, not if you use the PHP session handler correctly.  Here are the guidelines:

1. Put session_start() at the top of every page (this means unconditional execution as the first element of every script).

2. Add data to the $_SESSION array with assignment operators, like this:

    $_SESSION["cheese"] = 'Cheddar';

3. The $_SESSION array will be available and mutable in every scope and namespace.  This will be true whether or not you have used session_start().  But if you have not used session_start() the data you put into the $_SESSION array will not be there on the next page request.  This is a silent failure.  To avoid this problem, use session_start() right at the top.

In case you are not sure if your server's session handler is working correctly, you can run this little script to test it.
<?php // RAY_session_test.php
error_reporting(E_ALL);


// DEMONSTRATE HOW PHP SESSIONS WORK
// MAN PAGE HERE: http://php.net/manual/en/function.session-start.php


// START THE SESSION (DO THIS FIRST, UNCONDITIONALLY, IN EVERY PHP SCRIPT ON EVERY PAGE)
session_start();

// INITIALIZE THE SESSION ARRAY TO SET A DEFAULT VALUE
if (empty($_SESSION["cheese"])) $_SESSION["cheese"] = 1;

// SEE IF THE CORRECT SUBMIT BUTTON WAS CLICKED
if (isset($_POST['fred']))
{
    // ADD ONE TO THE CHEESE
    $_SESSION['cheese']++;
}

// RECOVER THE CURRENT VALUE FROM THE SESSION ARRAY
$cheese = $_SESSION['cheese'];


// END OF PROCESSING SCRIPT - CREATE THE FORM USING HEREDOC NOTATION
$form = <<<ENDFORM
<html>
<head>
<title>Session Test</title>
</head>
<body>
Currently, SESSION["cheese"] contains: $cheese<br/>
<form method="post">
<input type="submit" value="increment this cheese" name="fred"  />
<input type="submit" value="leave my cheese alone" name="john" />
</form>
</body>
</html>
ENDFORM;

echo $form;

Open in new window

0
 

Author Comment

by:savsoft
ID: 36558065
session working fine but anchor tag doesn't work after login
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36558416
please share the login credentials, so that i can login and see the problem
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 36559840
session working fine but anchor tag doesn't work after login

This is not enough information for us to help in any way at all.  The question might as well be, "my plant won't grow."  And we do not know what kind of plant, whether it is in the soil, whether it has been watered, or frozen, etc...

To help you we will need to see your data, your program code and your test cases.  Please post those things here.  Thanks, ~Ray
0
 

Accepted Solution

by:
savsoft earned 0 total points
ID: 36585477
That was due to hidden div which was overlaping ancher tag...
0
 

Author Closing Comment

by:savsoft
ID: 36708172
We found reason behind my problem outside experts-exchange so i provide information and closing by accepting my comment as answer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what you should include to make the best professional email signature for your organization.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question