Solved

anchor tags not working

Posted on 2011-09-16
12
279 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
  • 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 30

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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 108

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 108

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now